Accept '=' in cookie keys.

This commit is contained in:
Cory Benfield
2012-02-21 22:51:38 +00:00
parent 99a6074816
commit 2ef0b1b51d
+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 = {