Skip to content

Commit

Permalink
Merge c8bf90d into fbd7d0b
Browse files Browse the repository at this point in the history
  • Loading branch information
Massimiliano Pippi committed Jul 8, 2013
2 parents fbd7d0b + c8bf90d commit 67f2382
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion oauthlib/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def decode_params_utf8(params):
return decoded


urlencoded = set(always_safe) | set('=&;%+~')
urlencoded = set(always_safe) | set('=&;%+~,')


def urldecode(query):
Expand Down
1 change: 1 addition & 0 deletions tests/test_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ def test_urldecode(self):
self.assertItemsEqual(urldecode('c2='), [('c2', '')])
self.assertItemsEqual(urldecode('foo=bar'), [('foo', 'bar')])
self.assertItemsEqual(urldecode('foo_%20~=.bar-'), [('foo_ ~', '.bar-')])
self.assertItemsEqual(urldecode('foo=1,2,3'), [('foo', '1,2,3')])
self.assertRaises(ValueError, urldecode, 'foo bar')
self.assertRaises(ValueError, urldecode, '?')
self.assertRaises(ValueError, urldecode, '%R')
Expand Down

0 comments on commit 67f2382

Please sign in to comment.