Django 1.5.8 版本发行说明

    Django 1.5.8 fixes two security issues in 1.5.8.

    When using Django sessions, Django will set a header to ensure caches do not serve cached data to requests from other sessions. However, older versions of Internet Explorer (most likely only Internet Explorer 6, and Internet Explorer 7 if run on Windows XP or Windows Server 2003) are unable to handle the Vary header in combination with many content types. Therefore, Django would remove the header if the request was made by Internet Explorer.

    Malformed redirect URLs from user input not correctly validated

    The validation for redirects did not correctly validate some malformed URLs, which are accepted by some browsers. This allows a user to be redirected to an unsafe URL unexpectedly.

    To remedy this, the validation in has been tightened to be able to handle and correctly validate these malformed URLs.