]> git.ipfire.org Git - thirdparty/tornado.git/commit
httputil.parse_body_arguments: allow incomplete url-escaping 2735/head
authorPierce Lopez <pierce.lopez@gmail.com>
Thu, 29 Aug 2019 02:56:31 +0000 (22:56 -0400)
committerPierce Lopez <pierce.lopez@gmail.com>
Sat, 31 Aug 2019 04:26:59 +0000 (00:26 -0400)
commit3d30ca1ad9916fa3b0597dd90185b01591190d57
treed3962d45bb6f2c34aa75b5ca121a7fac3a9cbd17
parent500adb0d8c7c396433f28b7226333a5156268cd5
httputil.parse_body_arguments: allow incomplete url-escaping

support x-www-form-urlencoded body with values consisting of
encoded bytes which are not url-encoded into ascii
(it seems other web frameworks often support this)

add bytes qs support to escape.parse_qs_bytes,
leave str qs support for backwards compatibility
tornado/escape.py
tornado/httputil.py
tornado/test/httpserver_test.py