From db640cebe6646854975492a0d569fdc85047e583 Mon Sep 17 00:00:00 2001 From: Tim Van Campenhout Date: Tue, 28 Mar 2023 10:54:15 +0200 Subject: [PATCH] #92 review fix --- urihandler/handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/urihandler/handler.py b/urihandler/handler.py index 70a7d58..d4634db 100644 --- a/urihandler/handler.py +++ b/urihandler/handler.py @@ -24,7 +24,7 @@ def __init__(self, uris=[]): def handle(self, uri, request): params = "" if "?" in uri: - uri, params = uri.rsplit("?", 1) + uri, params = uri.split("?", 1) uris = copy.deepcopy(self.uris) for u in uris: if "mount" not in u or u["mount"]: