diff options
author | sumneko <sumneko@hotmail.com> | 2019-05-20 12:30:48 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2019-05-20 12:30:48 +0800 |
commit | 88f00099a9b26fe4faafed58b990a789f5565eda (patch) | |
tree | c465a133f342d46de85790886455b1c4c68d28cc /server/src/3rd/lua-uri/uri/file/unix.lua | |
parent | c3a1a6c7e4e2f4d34d37a350aa12514fea77ad4c (diff) | |
download | lua-language-server-88f00099a9b26fe4faafed58b990a789f5565eda.zip |
用打过补丁的版本
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 |