File names / paths with spaces cannot be navigated to via the Documents tab

Description

If the user uploads a file with spaces in the name or path, it can not be accessed via the Documents tab
i.e. clicking on it will not show the languages list in order to translate the document.

1. Sign in and go to a maintained project
2. Click Settings->Documents-> +
3. Browse and select a document with spaces in the path, or use the Advanced area to add a path with spaces
4. Click Upload
5. Click the Documents tab after successful upload
6. Click that document

Actual:
Nothing happens

Expected:
Language list shown to begin translating

Environment

None

Activity

Show:

Carlos Munoz 26 November 2015 at 23:15

What about turning the doc id into a query param instead of a path param? Unfortunately it would break existing urls, but it would be a solid solution imo.

Former user 26 November 2015 at 22:44

After investigation, path/name only with whitespaces works fine. But if it contains forward slash `/`, even after we encode it to `%2F`, it doesn't work.

This is due to jboss/apache restriction for security. http://stackoverflow.com/questions/4069002/receive-an-http-400-error-if-2f-is-part-of-the-get-url-in-jboss

Ready for Release

Details

Assignee

Reporter

Labels

Sprint

Fix versions

Affects versions

Priority

More fields

Created 11 November 2015 at 05:15
Updated 27 June 2018 at 02:21
Resolved 1 December 2015 at 04:53

Flag notifications