Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MNT-22668: missing encoded characters for some characters like ‘(’ and ‘)’ #870

Merged
merged 1 commit into from
Jan 4, 2022

Conversation

kcichonczyk
Copy link
Contributor

Replaced org.springframework.extensions.surf.util.URLEncoder with the java.net.URLEncoder for encoding filenames containing characters like ")" and "(" in the content-disposition response header.

…der with the java.net.URLEncoder for encoding filenames containing characters like ")" and "(" in the content-disposition response header.
@kcichonczyk kcichonczyk changed the title In ACS OOTB REST api to download file/get node content, Content-Disposition header in the response shows file name with the missing encoded characters for some characters like ‘(’ and ‘)’ MNT-22668: missing encoded characters for some characters like ‘(’ and ‘)’ Jan 4, 2022
@antoniorv75
Copy link

antoniorv75 commented Jul 13, 2022

The problem persists with the version 7.3.0-M1, @kcichonczyk could you bring a solution for us with the sustitutions of " " (spaces) with "+" characters? It works with view in browser but not works with download.

@aborroy
Copy link
Contributor

aborroy commented Jul 15, 2022

This patch seems to be working as expected:
https://github.com/aborroy/mnt-22668

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants