diff options
Diffstat (limited to 'server/src/3rd/lua-uri/uri/file/unix.lua')
-rw-r--r-- | server/src/3rd/lua-uri/uri/file/unix.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/3rd/lua-uri/uri/file/unix.lua b/server/src/3rd/lua-uri/uri/file/unix.lua index 2ffe1504..8bd4c942 100644 --- a/server/src/3rd/lua-uri/uri/file/unix.lua +++ b/server/src/3rd/lua-uri/uri/file/unix.lua @@ -18,7 +18,7 @@ function M.make_file_uri (path) error("Unix relative paths can't be converted to file URIs") end path = path:gsub("//+", "/") - path = Util.uri_encode(path, "^A-Za-z0-9%-._~!$&'()*+,;=:@/") + path = Util.uri_encode(path, "^A-Za-z0-9%-._~!$&'()*+,;=@/") return assert(URI:new("file://" .. path)) end |