diff --git a/lib/request/connect.py b/lib/request/connect.py index 488586f7b4e..1153d44f3d7 100644 --- a/lib/request/connect.py +++ b/lib/request/connect.py @@ -735,8 +735,8 @@ def _randomizeParameter(paramString, randomParameter): post += "%s%s=%s" % (delimiter, name, value) else: get += "%s%s=%s" % (delimiter, name, value) - - get = urlencode(get, limit=True) + if not skipUrlEncode: + get = urlencode(get, limit=True) if post is not None: if place not in (PLACE.POST, PLACE.CUSTOM_POST) and hasattr(post, UNENCODED_ORIGINAL_VALUE): post = getattr(post, UNENCODED_ORIGINAL_VALUE)