From f46868133b4b8486e4010397301b95467de2b82b Mon Sep 17 00:00:00 2001 From: Carlos Esquerdo Bernat Date: Wed, 28 Apr 2021 06:46:36 +0200 Subject: [PATCH] vweb: remove calling .to_lower too early while processing url and url params (#9805) --- vlib/vweb/vweb.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/vweb/vweb.v b/vlib/vweb/vweb.v index 004433ed04..46b8ccb612 100644 --- a/vlib/vweb/vweb.v +++ b/vlib/vweb/vweb.v @@ -359,7 +359,7 @@ fn handle_conn(mut conn net.TcpConn, mut app T) { } // Serve a static file if it is one // 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') return }