Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions mrok/proxy/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,11 +174,10 @@ def _merge_x_forwarded(self, headers: list[tuple[bytes, bytes]], scope: Scope) -
def _format_path(self, scope: Scope) -> str:
path = scope.get("raw_path")
if path:
return path.decode()
path = path.decode()
else:
path = scope.get("path", "/")
q = scope.get("query_string", b"")
path = scope.get("path", "/")
path_qs = path
if q:
path_qs += "?" + q.decode()
Expand Down
Loading