vweb: remove calling .to_lower too early while processing url and url params (#9805)
parent
3edbf71770
commit
f46868133b
|
@ -359,7 +359,7 @@ fn handle_conn<T>(mut conn net.TcpConn, mut app T) {
|
||||||
}
|
}
|
||||||
// Serve a static file if it is one
|
// Serve a static file if it is one
|
||||||
// TODO: get the real path
|
// TODO: get the real path
|
||||||
url := urllib.parse(app.req.url.to_lower()) or {
|
url := urllib.parse(app.req.url) or {
|
||||||
eprintln('error parsing path: $err')
|
eprintln('error parsing path: $err')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue