-
Notifications
You must be signed in to change notification settings - Fork 104
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
canonicalize_url breaks certain url(s) #131
Comments
Happens with urls containing "%26" (&) as well. |
From my unscientific tests,
these are the URL that my Chrome browser (Version 53.0.2785.113 (64-bit) on Ubuntu) fetches, as seen in the network tab:
|
Summary for Chrome vs. canonicalize_url:
|
For Firefox (48.0 Mozilla Firefox for Ubuntu) it's a bit different: "on the wire" as copied from the network panel:
as displayed in the address bar:
Summary using the URL bar data as output:
|
This needs to be moved to |
The url /cmp/Supermercados-Dia%25 is incorrectly unquoted into /cmp/Supermercados-Dia%
Problem happens in
def _unquotepath(path): for reserved in ('2f', '2F', '3f', '3F'): path = path.replace('%' + reserved, '%25' + reserved.upper()) return urllib.unquote(path)
The text was updated successfully, but these errors were encountered: