Skip to content

Commit

Permalink
fix(gateway): use req.path in bouncer (#1797)
Browse files Browse the repository at this point in the history
  • Loading branch information
oddgrd authored Jun 12, 2024
1 parent 36fc318 commit 2a7e5ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gateway/src/proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ async fn bounce(State(state): State<Arc<Bouncer>>, req: Request<Body>) -> 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
Expand Down

0 comments on commit 2a7e5ce

Please sign in to comment.