From 398b11771b37004ab505c6a946337397bee9609f Mon Sep 17 00:00:00 2001 From: Ashley Harvey Date: Wed, 4 Sep 2019 12:07:20 -0700 Subject: [PATCH] Relax strict case-sensitive regex on an inconsequential line in cookiejar.py (the comment/header); add self to acks. --- Lib/http/cookiejar.py | 2 +- Misc/ACKS | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Lib/http/cookiejar.py b/Lib/http/cookiejar.py index db8238235718133..e07a4cb1bc37ecc 100644 --- a/Lib/http/cookiejar.py +++ b/Lib/http/cookiejar.py @@ -1999,7 +1999,7 @@ class MozillaCookieJar(FileCookieJar): header by default (Mozilla can cope with that). """ - magic_re = re.compile("#( Netscape)? HTTP Cookie File") + magic_re = re.compile("#( Netscape)? HTTP Cookie File", re.IGNORECASE) header = """\ # Netscape HTTP Cookie File # http://curl.haxx.se/rfc/cookie_spec.html diff --git a/Misc/ACKS b/Misc/ACKS index 24e327a5f86e99f..d80385e5b24ade7 100644 --- a/Misc/ACKS +++ b/Misc/ACKS @@ -1877,3 +1877,4 @@ Batuhan Taskaya Aleksandr Balezin Robert Leenders Ngalim Siregar +Ashley Harvey