Synced 1.2 release notes with 1.1.2 release notes w.r.t. cookie encoding, for consistency.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12288 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Luke Plant 2010-01-24 00:10:30 +00:00
parent e6c5599494
commit 739d5aec0f
1 changed files with 9 additions and 7 deletions

View File

@ -240,14 +240,16 @@ status code for the test runner is now 0 for success (no failing tests) and 1
for any number of test failures. If needed, the number of test failures can be
found at the end of the test runner's output.
Cookie quoting
--------------
Cookie encoding
---------------
Due to bugs and variations in web browsers, we've slightly changed the way that
cookie values are encoded. Comma (',') and semi-colon (';') now use the same
octal encoding mechanism that is used for other special characters. If you
were not previously storing either of these two characters in cookies you are
not affected.
To fix bugs with cookies in Internet Explorer, Safari, and possibly other
browsers, our encoding of cookie values was changed so that the characters
comma and semi-colon are treated as non-safe characters, and are therefore
encoded as ``\054`` and ``\073`` respectively. This could produce backwards
incompatibilities, especially if you are storing comma or semi-colon in
cookies and have javascript code that parses and manipulates cookie values
client-side.
.. _deprecated-features-1.2: