summaryrefslogtreecommitdiff
path: root/Lib/Cookie.py
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2012-05-20 16:56:24 +0800
committerSenthil Kumaran <senthil@uthcode.com>2012-05-20 16:56:24 +0800
commit9cffd882ab6ec00450626567f06aad43e5b5243a (patch)
tree77de12b6b6ec179c4bc6c72714f51a63d53424bb /Lib/Cookie.py
parented11a5d018e3fc234d7126832756a15c1af67d22 (diff)
downloadcpython-git-9cffd882ab6ec00450626567f06aad43e5b5243a.tar.gz
Fix for issue14426 - buildbots here I come
Diffstat (limited to 'Lib/Cookie.py')
-rw-r--r--Lib/Cookie.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/Cookie.py b/Lib/Cookie.py
index 616377cf73..2eda48c0bb 100644
--- a/Lib/Cookie.py
+++ b/Lib/Cookie.py
@@ -539,7 +539,7 @@ _CookiePattern = re.compile(
r"(?P<val>" # Start of group 'val'
r'"(?:[^\\"]|\\.)*"' # Any doublequoted string
r"|" # or
- r"\w{3},\s[\w\d-]{9,11}\s[\d:]{8}\sGMT" # Special case for "expires" attr
+ r"\w{3},\s[\s\w\d-]{9,11}\s[\d:]{8}\sGMT" # Special case for "expires" attr
r"|" # or
""+ _LegalCharsPatt +"*" # Any word or empty string
r")" # End of group 'val'