summaryrefslogtreecommitdiff
path: root/oauthlib/common.py
diff options
context:
space:
mode:
authorArthur Wiebe <artooro@gmail.com>2015-01-13 14:44:31 -0500
committerArthur Wiebe <artooro@gmail.com>2015-01-13 14:44:31 -0500
commit9963cd24f81c14b09474b20dcb3acabba5ed7036 (patch)
treeec2fc666eab4870cc49d5a9cf76af999d9654fe2 /oauthlib/common.py
parentfd239fca84644896b1971cf24bc6213d065adb86 (diff)
downloadoauthlib-9963cd24f81c14b09474b20dcb3acabba5ed7036.tar.gz
Allow ! character in query string
My app broke because there was a ! character in the query string. This small change fixed it for me.
Diffstat (limited to 'oauthlib/common.py')
-rw-r--r--oauthlib/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/oauthlib/common.py b/oauthlib/common.py
index 9cd7a61..2d1e8ef 100644
--- a/oauthlib/common.py
+++ b/oauthlib/common.py
@@ -107,7 +107,7 @@ def decode_params_utf8(params):
return decoded
-urlencoded = set(always_safe) | set('=&;%+~,*@')
+urlencoded = set(always_safe) | set('=&;%+~,*@!')
def urldecode(query):