diff --git a/http/server.lua b/http/server.lua index 286be38..63ef10f 100644 --- a/http/server.lua +++ b/http/server.lua @@ -754,12 +754,6 @@ local function parse_request(req) p.error = "invalid uri" return p end - for _, path_segment in ipairs(p.path:split('/')) do - if path_segment == "." or path_segment == ".." then - p.error = "invalid uri" - return p - end - end return p end