Merging commit 57bcbb458eade2850a6d7623ecddbe49c69cf334 from @morisson

This commit is contained in:
Miroslav Stampar 2013-01-15 10:14:02 +01:00
parent 461ee24dcd
commit 5ee653dd89

View File

@ -736,7 +736,9 @@ class Connect(object):
else: else:
get += "%s%s=%s" % (delimiter, name, value) get += "%s%s=%s" % (delimiter, name, value)
if not skipUrlEncode:
get = urlencode(get, limit=True) get = urlencode(get, limit=True)
if post is not None: if post is not None:
if place not in (PLACE.POST, PLACE.CUSTOM_POST) and hasattr(post, UNENCODED_ORIGINAL_VALUE): if place not in (PLACE.POST, PLACE.CUSTOM_POST) and hasattr(post, UNENCODED_ORIGINAL_VALUE):
post = getattr(post, UNENCODED_ORIGINAL_VALUE) post = getattr(post, UNENCODED_ORIGINAL_VALUE)