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

index 616377cf736fd91b180bf7a97140e99f9f1ef5fb..2eda48c0bb156c12c07ab1ac761b346e77c727db 100644 (file)
@@ -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'