From b14e4ac57e5e0876f9e3878a5227fb56b1d03580 Mon Sep 17 00:00:00 2001 From: Konstantin Ryabitsev Date: Tue, 24 Nov 2020 09:42:30 -0500 Subject: Unquote msgid if we're getting a full https URL If we're processing a full https URL to the message, then unquote the message ID before we use it. Signed-off-by: Konstantin Ryabitsev --- b4/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/b4/__init__.py b/b4/__init__.py index b8d5b7d..4da197b 100644 --- a/b4/__init__.py +++ b/b4/__init__.py @@ -2086,7 +2086,7 @@ def get_msgid(cmdargs): matches = re.search(r'^https?://[^/]+/([^/]+)/([^/]+@[^/]+)', msgid, re.IGNORECASE) if matches: chunks = matches.groups() - msgid = chunks[1] + msgid = urllib.parse.unquote(chunks[1]) # Infer the project name from the URL, if possible if chunks[0] != 'r': cmdargs.useproject = chunks[0] -- cgit v1.2.3