diff options
author | Senthil Kumaran <senthil@uthcode.com> | 2012-04-22 01:19:04 (GMT) |
---|---|---|
committer | Senthil Kumaran <senthil@uthcode.com> | 2012-04-22 01:19:04 (GMT) |
commit | 3a441c1bedf1091ed4a177e5d7f0a12ef9f9fa65 (patch) | |
tree | aa7845ca2d570c33046a0b6f6b022a48383f49c5 /Lib/http | |
parent | b8c0206bd4b113ea774554a608057f4ad6ebfabc (diff) | |
download | cpython-3a441c1bedf1091ed4a177e5d7f0a12ef9f9fa65.zip cpython-3a441c1bedf1091ed4a177e5d7f0a12ef9f9fa65.tar.gz cpython-3a441c1bedf1091ed4a177e5d7f0a12ef9f9fa65.tar.bz2 |
Fix Issue2193 - Allow ":" character in Cookie NAME values
Diffstat (limited to 'Lib/http')
-rw-r--r-- | Lib/http/cookies.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/http/cookies.py b/Lib/http/cookies.py index 93da627..d73f79a 100644 --- a/Lib/http/cookies.py +++ b/Lib/http/cookies.py @@ -159,7 +159,7 @@ class CookieError(Exception): # _LegalChars is the list of chars which don't require "'s # _Translator hash-table for fast quoting # -_LegalChars = string.ascii_letters + string.digits + "!#$%&'*+-.^_`|~" +_LegalChars = string.ascii_letters + string.digits + "!#$%&'*+-.^_`|~:" _Translator = { '\000' : '\\000', '\001' : '\\001', '\002' : '\\002', '\003' : '\\003', '\004' : '\\004', '\005' : '\\005', |