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

Fix encoding issue filefield #183

Closed
wants to merge 3 commits into from

Conversation

BBooijLiewes
Copy link
Contributor

@BBooijLiewes BBooijLiewes commented Aug 17, 2021

Currently BinderFileFields which contain some characters like the accent grave will break download links when ran in combination with gunicorn to serve url links etc.

This is solved by using unidecode to always replace these characters with their ascii code equivalent, which gunicorn can process.

Copy link
Contributor

@nstylo nstylo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@BBooijLiewes How do I reproduce the issue?

Test is missing for this PR.

@nstylo
Copy link
Contributor

nstylo commented Oct 18, 2021

Opened another PR with tests not failing #192. Ready to merge.

@abzainuddin abzainuddin closed this Jan 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants