Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.4.0
-
None
-
None
Description
Bulk import does some sanity checks on the client side so that it can fail fast. When a user passes relative directories to bulk import, these sanity checks may pass because cwd+reldir is ok. Then code then passes these relative dirs to the server side which has a different cwd. The relative paths fail in the server side and the user does not get a very useful error message.
There are at least two possible solutions :
- In client code convert relative paths to URIs before passing to server.
- Reject relative paths in client code