Merge pull request #450 from Lukasa/issue_440

Issue #440: Accept '=' in cookie keys.
This commit is contained in:
Kenneth Reitz
2012-02-25 20:14:11 -08:00
+1 -1
View File
@@ -253,7 +253,7 @@ class CookieError(Exception):
# _LegalChars is the list of chars which don't require "'s
# _Translator hash-table for fast quoting
#
_RFC2965Forbidden = "[]:{}"
_RFC2965Forbidden = "[]:{}="
_LegalChars = ( string.ascii_letters + string.digits +
"!#$%&'*+-.^_`|~_" + _RFC2965Forbidden )
_Translator = {