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

urllib.parse.quote() Unicode urls on redirect #4131

Merged
merged 1 commit into from
Nov 20, 2020
Merged

urllib.parse.quote() Unicode urls on redirect #4131

merged 1 commit into from
Nov 20, 2020

Conversation

cclauss
Copy link
Contributor

@cclauss cclauss commented Nov 20, 2020

Closes #3704, #4092

Based on lessons learned from benoitc/gunicorn#2319

Technical

Testing

Screenshot

Stakeholders

@cclauss cclauss added this to the Active Sprint milestone Nov 20, 2020
@cclauss cclauss marked this pull request as ready for review November 20, 2020 13:07
@cclauss cclauss added the On Staging On staging.openlibrary.org label Nov 20, 2020
Copy link
Collaborator

@seabelis seabelis left a comment

Choose a reason for hiding this comment

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

I can confirm that I am able to edit and save works with unicode characters in their titles without error.

@cclauss cclauss changed the title urlencode Unicode urls on redirect urllib.parse.quote() Unicode urls on redirect Nov 20, 2020
@mekarpeles
Copy link
Member

Yes, this looks like the right approach to me, thank you

@mekarpeles mekarpeles merged commit bb9709c into internetarchive:master Nov 20, 2020
@cclauss cclauss deleted the urlencode-unicode-urls-on-redirect branch November 20, 2020 21:40
@mekarpeles mekarpeles added python Pull requests that update Python code and removed Python 3: bytes vs. str labels Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
On Staging On staging.openlibrary.org python Pull requests that update Python code
Projects
None yet
3 participants