From 47f3411aef034892ba284a12d2bda0939e9b90b4 Mon Sep 17 00:00:00 2001 From: oddgrd <29732646+oddgrd@users.noreply.github.com> Date: Mon, 10 Jun 2024 21:29:57 +0200 Subject: [PATCH] fix(gateway): use req.path in bouncer --- gateway/src/proxy.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gateway/src/proxy.rs b/gateway/src/proxy.rs index 063d49ef9..ace89929c 100644 --- a/gateway/src/proxy.rs +++ b/gateway/src/proxy.rs @@ -214,7 +214,7 @@ async fn bounce(State(state): State>, req: Request) -> Result let hostname = host.hostname(); let fqdn = fqdn!(hostname); - let path = req.uri(); + let path = req.uri().path(); if fqdn.is_subdomain_of(&state.public) || state