From 88f00099a9b26fe4faafed58b990a789f5565eda Mon Sep 17 00:00:00 2001 From: sumneko Date: Mon, 20 May 2019 12:30:48 +0800 Subject: =?UTF-8?q?=E7=94=A8=E6=89=93=E8=BF=87=E8=A1=A5=E4=B8=81=E7=9A=84?= =?UTF-8?q?=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/3rd/lua-uri/uri/file/unix.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/src/3rd/lua-uri/uri/file/unix.lua') 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 -- cgit v1.2.3