Skip to content

Commit 28ebeae

Browse files
committed
Fix url encode
1 parent 5919170 commit 28ebeae

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

kickbox/api/kickbox.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import urllib
2+
13
class Kickbox(object):
24

35
"""
@@ -16,6 +18,8 @@ def verify(self, email, options={}):
1618
"""
1719
body = options['query'] if 'query' in options else {}
1820

21+
email = urllib.quote(email)
22+
1923
response = self.client.get('/verify?email=' + email + '', body, options)
2024

2125
return response

0 commit comments

Comments
 (0)