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

File download not working if filename contains spaces #24

Closed
cheindel opened this issue Nov 10, 2016 · 2 comments
Closed

File download not working if filename contains spaces #24

cheindel opened this issue Nov 10, 2016 · 2 comments
Assignees
Labels
Milestone

Comments

@cheindel
Copy link

There is a problem due to wrong enconding of file URLs in posts.

To reproduce the error, upload a file called sth. like "Communote 2.3.4.ipa" and try to download the file in Chromium.

The following link will be generated (but won't work):
https://MYSERVER/microblog/global/portal/files/62/Communote+2_3_4.ipa

If you change the link to %20 instead of +, it will work.
https://MYSERVER/microblog/global/portal/files/62/Communote%202_3_4.ipa

@rwi
Copy link
Member

rwi commented Nov 11, 2016

Yep the encoding is wrong but the link should actually still work, except you are using Communote behind an IIS. If that's the case you probably hit the double encoding issue. As a workaround you could allow double escaping in IIS for Communote.

@cheindel
Copy link
Author

We've implemented the double escaping setting in IIS for now. Do you have plans to improve this in a future release?

@rwi rwi added the bug label Jan 19, 2017
@rwi rwi added this to the 3.5 milestone Jan 19, 2017
@rwi rwi self-assigned this Jan 19, 2017
@rwi rwi closed this as completed Jan 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants