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 URL canonicalization to handle non-UTF-8 encoded characters. Fixes #6 #28

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

tfmorris
Copy link

Fixes #6

Fixes issue with percent signs (%) getting double escaped for hex encoded characters which use an encoding other than UTF-8.

There is a separate issue with the hex characters being lower case instead of upper case as recommended by both Google canonicalization guidelines (V2) and RFC 3986, which this patch does NOT address.

@sebastian-nagel
Copy link

Thanks, @tfmorris! We'll have a look.

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.

WaybackURLKeyMaker to keep non-utf8 percent encodings
2 participants