ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、视频、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
### Navigation - [index](# "General Index") - [modules](# "Python Module Index") | - [next](# "What鈥檚 new in Tornado 2.2") | - [previous](# "What鈥檚 new in Tornado 2.3") | - [Tornado 4.4.dev1 documentation](#) » - [Release notes](#) » # What's new in Tornado 2.2.1 ### Apr 23, 2012 ### Security fixes - [`tornado.web.RequestHandler.set_header`](# "tornado.web.RequestHandler.set_header") now properly sanitizes inputvalues to protect against header injection, response splitting, etc.(it has always attempted to do this, but the check was incorrect).Note that redirects, the most likely source of such bugs, are protectedby a separate check in [`RequestHandler.redirect`](# "tornado.web.RequestHandler.redirect"). ### Bug fixes - Colored logging configuration in [`tornado.options`](# "tornado.options") is compatible withPython 3.2.3 (and 3.3). © Copyright 2009-2016, The Tornado Authors. Created using [Sphinx](http://sphinx-doc.org/) 1.3.5.