Skip to content

Commit

Permalink
incoming http request .path() now only strips out preceding /
Browse files Browse the repository at this point in the history
  • Loading branch information
commercium-sys committed Jan 4, 2024
1 parent a0af5c1 commit 359a657
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,8 @@ impl IncomingHttpRequest {
.path_segments()
.ok_or(anyhow::anyhow!("url path missing process ID!"))?
.skip(1)
.collect())
.collect::<Vec<&str>>()
.join("/"))
}
}

Expand Down

0 comments on commit 359a657

Please sign in to comment.