mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vweb: remove calling .to_lower too early while processing url and url params (#9805)
This commit is contained in:
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
Block a user