summaryrefslogtreecommitdiff
path: root/script/file-uri.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/file-uri.lua')
-rw-r--r--script/file-uri.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/file-uri.lua b/script/file-uri.lua
index add3a73c..88281ca2 100644
--- a/script/file-uri.lua
+++ b/script/file-uri.lua
@@ -78,7 +78,7 @@ function m.decode(uri)
if scheme == 'file' and #authority > 0 and #path > 1 then
value = '//' .. authority .. path
elseif path:match '/%a:' then
- value = path:sub(2, 2) .. path:sub(3)
+ value = path:sub(2, 2):upper() .. path:sub(3)
else
value = path
end