You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
URLEncoder is mostly used to encode query parameters. Spring's UriUtils should do the job better to work around the (expected) behavior described in URLEncoder? However, to convert a space into a +-Sign within a filename is not an expected behavior.
Good morning,
The situation is the problem persists yet, and it is not solved apparently. The only way to download a file without name alteration is with "view in browser", this is curious that a so simple thing is not has been solved yet.
Thank you
We've faced the same issue and had some issues because of that with a mimetype determination when we've been trying to download and upload a new version.
Is there a version that fixes this behavior?
Description
Filename is not preserved after downlaoding when it contains a whitespace character.
Steps to reproduce
Affected version
Alfresco Community 7.2
Faulty commit
I guess @kcichonczyk created this bug in the 870
Now it uses
java.net.URLEncoder
, previosly it usedorg.springframework.extensions.surf.util.URLEncoder
where in the docs are implicily said that "The space character ' ' is converted into "%20" - NOT a plus sign!"The text was updated successfully, but these errors were encountered: