From 2ccf36617aa9a7a01ce661ad4e8e382adc43003b Mon Sep 17 00:00:00 2001 From: pictuga Date: Sun, 30 Sep 2018 22:01:19 +0200 Subject: [PATCH] morss: improve http parameter parsing --- morss/morss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/morss/morss.py b/morss/morss.py index 2837c31..7d92156 100644 --- a/morss/morss.py +++ b/morss/morss.py @@ -506,7 +506,7 @@ def cgi_app(environ, start_response): if url.startswith(':'): split = url.split('/', 1) - options = split[0].replace('|', '/').split(':')[1:] + options = split[0].replace('|', '/').replace('\\\'', '\'').split(':')[1:] if len(split) > 1: url = split[1]