]> git.ipfire.org Git - thirdparty/tornado.git/commit
Remove whitespace/control-character check from RequestHandler.redirect.
authorBen Darnell <ben@bendarnell.com>
Mon, 13 May 2013 04:08:04 +0000 (00:08 -0400)
committerBen Darnell <ben@bendarnell.com>
Mon, 13 May 2013 04:24:49 +0000 (00:24 -0400)
commit582106b93f80b715ee3bccc039fb2b8299c21fb6
treede657a21ca92d73355afc1156701a968424f420e
parenta6d158f1555df3d772a871959c6d05594f00a6ce
Remove whitespace/control-character check from RequestHandler.redirect.

Control characters (and newlines and tabs) will be caught in
set_header (which will raise an exception instead of silently
stripping them).  Spaces will now be allowed through, producing
invalid urls, but at least they won't mess up the header framing.

Closes #617.
tornado/web.py