diff options
author | François Schmidts <francois.schmidts@gmail.com> | 2014-06-09 15:59:21 +0200 |
---|---|---|
committer | François Schmidts <francois.schmidts@gmail.com> | 2014-06-09 15:59:21 +0200 |
commit | 6e32e137bfc48c138349e86bbf18d379435c300a (patch) | |
tree | ea21bacea92a0a267f8286eb12f2d81cefa1a3c4 /pyaggr3g470r | |
parent | making pyagregator runnable by apache (diff) | |
parent | A problem with urllib.quote() has been detected with the url: http://standblo... (diff) | |
download | newspipe-6e32e137bfc48c138349e86bbf18d379435c300a.tar.gz newspipe-6e32e137bfc48c138349e86bbf18d379435c300a.tar.bz2 newspipe-6e32e137bfc48c138349e86bbf18d379435c300a.zip |
fixing parsing for already quoted url as well
Diffstat (limited to 'pyaggr3g470r')
-rwxr-xr-x | pyaggr3g470r/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/utils.py b/pyaggr3g470r/utils.py index 4acaafc8..50549587 100755 --- a/pyaggr3g470r/utils.py +++ b/pyaggr3g470r/utils.py @@ -192,7 +192,7 @@ def clean_url(url): return urlunparse([ parsed_url.scheme, parsed_url.netloc, - urllib.quote(parsed_url.path), + urllib.quote(urllib.unquote(parsed_url.path)), parsed_url.params, urllib.urlencode(filtered, doseq=True), parsed_url.fragment |