From 253424b8c3427d684e619cc9f8d9c950d9afac3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Mon, 29 Apr 2019 13:15:21 +0200 Subject: [PATCH] daemon: Make the query parameters always editable in forward_request(). --- pantalaimon/daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pantalaimon/daemon.py b/pantalaimon/daemon.py index 6cde04a..9b2ffcf 100755 --- a/pantalaimon/daemon.py +++ b/pantalaimon/daemon.py @@ -224,7 +224,7 @@ class ProxyDaemon: headers = CIMultiDict(request.headers) headers.pop("Host", None) - params = params or request.query + params = params or CIMultiDict(request.query) if token: if "Authorization" in headers: