合规国际互联网加速 OSASE为企业客户提供高速稳定SD-WAN国际加速解决方案。 广告
### 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.