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.