Skip to content
This repository was archived by the owner on Oct 2, 2023. It is now read-only.

Commit ddf9271

Browse files
author
Grace Yim
committed
Keep blank values when parsing postback data
1 parent 29a1fad commit ddf9271

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

toopher/toopher_iframe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def is_authentication_granted(self, data, request_token='', **kwargs):
9191
return False
9292

9393
def _urldecode_iframe_data(self, data):
94-
data_dict = urlparse.parse_qs(data)
94+
data_dict = urlparse.parse_qs(data, True)
9595
return dict((k,v[0]) for (k,v) in data_dict.items())
9696

9797
def _validate_data(self, data, request_token, kwargs):

0 commit comments

Comments
 (0)