From 7accba4cf996060f609e951837158fad854f58d6 Mon Sep 17 00:00:00 2001 From: stamparm Date: Tue, 26 Mar 2013 16:10:41 +0100 Subject: [PATCH] Minor update --- lib/request/connect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/request/connect.py b/lib/request/connect.py index 44d3b2422..176ac33ea 100644 --- a/lib/request/connect.py +++ b/lib/request/connect.py @@ -749,7 +749,7 @@ class Connect(object): 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): + if place not in (PLACE.POST, PLACE.CUSTOM_POST) and '%' in getattr(post, UNENCODED_ORIGINAL_VALUE, ""): post = getattr(post, UNENCODED_ORIGINAL_VALUE) elif not skipUrlEncode and kb.postHint not in POST_HINT_CONTENT_TYPES.keys(): post = urlencode(post, spaceplus=kb.postSpaceToPlus)