]> git.ipfire.org Git - thirdparty/tornado.git/commit
Invert web.RequestHandler._INVALID_HEADER_CHAR_RE 3451/head
authorDave Shawley <daveshawley@gmail.com>
Fri, 27 Dec 2024 22:24:19 +0000 (17:24 -0500)
committerDave Shawley <daveshawley@gmail.com>
Fri, 27 Dec 2024 22:24:19 +0000 (17:24 -0500)
commit049cab092867051f08c0d82b6afdb0c615a6a9ae
treeeba92b114ce6fcb5050e9a83facf16f442b06d9b
parent39fcd3b110e0f33b407694af489abbe522eac1f0
Invert web.RequestHandler._INVALID_HEADER_CHAR_RE

This makes the expression match what is in the RFC. I also added a test
for empty header values since I messed up the RE the first time around.
tornado/test/web_test.py
tornado/web.py