From 4476d8289115e6e36e4bcd3a6d3a77920f675334 Mon Sep 17 00:00:00 2001 From: Ashley Harvey Date: Wed, 4 Sep 2019 12:25:35 -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 d63544a5f52e23..5a3ab7b6e08622 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 ec14bdc7bb59da..0c42fd49da31e1 100644 --- a/Misc/ACKS +++ b/Misc/ACKS @@ -1839,3 +1839,4 @@ Peter Åstrand Zheao Li Geoff Shannon Ngalim Siregar +Ashley Harvey