]> git.ipfire.org Git - thirdparty/tornado.git/commit
Avoid uncaught exception when _xsrf argument could not be decoded. 1689/head
authorharboecp <harboecp@users.noreply.github.com>
Tue, 12 Apr 2016 13:14:01 +0000 (15:14 +0200)
committerharboecp <harboecp@users.noreply.github.com>
Tue, 12 Apr 2016 17:09:02 +0000 (19:09 +0200)
commitba81424a140a8f6288212e30970308ad76a5347f
tree43ed8655b515fbcd0899e11a82eabd04b9d55013
parentb6998247702a960f0c73004a6b5f8ae775607c03
Avoid uncaught exception when _xsrf argument could not be decoded.
This is primarily to avoid "TypeError: a bytes-like object is required, not 'NoneType" in "check_xsrf_cookie"
tornado/test/web_test.py
tornado/web.py