mirror of https://github.com/zulip/zulip.git
zephyr_mirror: urlencode Unicode properly
(imported from commit 74d58039e4b763a2738bb485ab9ba6aa9c802d92)
This commit is contained in:
parent
1d9fb55b1a
commit
5090a3fb91
|
@ -30,7 +30,7 @@ def browser_login():
|
|||
|
||||
def send_zephyr(zeph):
|
||||
browser.addheaders.append(('X-CSRFToken', csrf_token))
|
||||
zephyr_data = urllib.urlencode(zeph.items())
|
||||
zephyr_data = urllib.urlencode([(k, v.encode('utf-8')) for k,v in zeph.items()])
|
||||
browser.open("https://app.humbughq.com/forge_zephyr/", zephyr_data)
|
||||
|
||||
def unwrap_lines(body):
|
||||
|
|
Loading…
Reference in New Issue