]> granicus.if.org Git - python/commitdiff
Fix for issue14426 - buildbots here I come
authorSenthil Kumaran <senthil@uthcode.com>
Sun, 20 May 2012 08:58:30 +0000 (16:58 +0800)
committerSenthil Kumaran <senthil@uthcode.com>
Sun, 20 May 2012 08:58:30 +0000 (16:58 +0800)
Lib/http/cookies.py

index 2aeb8d320fb9b34201fcd56c64086a4ee5583859..ddbcbf877bfca67d54ec9cc79bf669cb0168c427 100644 (file)
@@ -439,7 +439,7 @@ _CookiePattern = re.compile(r"""
     (?P<val>                       # Start of group 'val'
     "(?:[^\\"]|\\.)*"                # Any doublequoted string
     |                                # or
-    \w{3},\s[\w\d-]{9,11}\s[\d:]{8}\sGMT  # Special case for "expires" attr
+    \w{3},\s[\w\d\s-]{9,11}\s[\d:]{8}\sGMT  # Special case for "expires" attr
     |                                # or
     """ + _LegalCharsPatt + r"""*    # Any word or empty string
     )                              # End of group 'val'