daemon: Make the query parameters always editable in forward_request().

This commit is contained in:
Damir Jelić 2019-04-29 13:15:21 +02:00
parent 3671660e64
commit 253424b8c3

View File

@ -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: