diff --git a/Lib/urllib.py b/Lib/urllib.py index ecf505744ea..d294c4ef61b 100644 --- a/Lib/urllib.py +++ b/Lib/urllib.py @@ -867,9 +867,9 @@ def unquote(s): myappend(mychr(myatoi(item[:2], 16)) + item[2:]) except: - myappend(item) + myappend('%' + item) else: - myappend(item) + myappend('%' + item) return string.join(res, "") def unquote_plus(s):