From: Senthil Kumaran Date: Sun, 20 May 2012 08:58:30 +0000 (+0800) Subject: Fix for issue14426 - buildbots here I come X-Git-Tag: v3.3.0a4~112^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aeeba2629aa52e4e73e19a1502b3d3133ea68dec;p=thirdparty%2FPython%2Fcpython.git Fix for issue14426 - buildbots here I come --- diff --git a/Lib/http/cookies.py b/Lib/http/cookies.py index 2aeb8d320fb9..ddbcbf877bfc 100644 --- a/Lib/http/cookies.py +++ b/Lib/http/cookies.py @@ -439,7 +439,7 @@ _CookiePattern = re.compile(r""" (?P # 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'