We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8239d8d commit 53ad6c6Copy full SHA for 53ad6c6
src/webserver/http.rs
@@ -401,12 +401,10 @@ async fn main_handler(mut service_request: ServiceRequest) -> actix_web::Result<
401
}
402
403
404
-
405
/// Extracts the path from a request and percent-decodes it
406
fn req_path(req: &ServiceRequest) -> Cow<'_, str> {
407
let encoded_path = req.path();
408
- percent_encoding::percent_decode_str(encoded_path)
409
- .decode_utf8_lossy()
+ percent_encoding::percent_decode_str(encoded_path).decode_utf8_lossy()
410
411
412
pub fn create_app(
0 commit comments