-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Docker: Cannot upload files with non-ASCII characters in the name #11215
Comments
I see in the logs the following error:
|
If we replace documents/views.py L168
by
or maybe (untested yet)
I was able to upload this file: However it's creating another problem that the extension get a Manually removing this |
I think I have a solution from this: https://stackoverflow.com/questions/9208802/unicodeencodeerror-when-uploading-files-in-django-admin In docker we need to add this step:
With that I could upload a file with non-ascii title and it didn't mess up things like my previous attempts. I take the liberty to tag you @giohappy as last time you rightfully moved my issue GeoNode/geonode-project#450 from here to |
Is your feature request related to a problem? Please describe.
It's currently not possible to upload pdf with non ASCII names. This is the same file uploaded with different names and only "hello.pdf" works.
Describe the solution you'd like
I would like to be able to upload files with non-ASCII characters in the name.
The text was updated successfully, but these errors were encountered: