summaryrefslogtreecommitdiff
path: root/server/src/uri.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/uri.lua')
-rw-r--r--server/src/uri.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/uri.lua b/server/src/uri.lua
index ec3cdad6..9053447c 100644
--- a/server/src/uri.lua
+++ b/server/src/uri.lua
@@ -9,7 +9,7 @@ local OS = platform.OS == 'Windows' and 'win32' or 'unix'
local function decode(uri)
local obj = URI:new(uri)
if not obj.filesystem_path then
- return ''
+ return nil
end
local fullPath = obj:filesystem_path(OS)
local path = fs.path(fullPath)