diff options
Diffstat (limited to 'script')
-rw-r--r-- | script/file-uri.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/script/file-uri.lua b/script/file-uri.lua index 07791ca0..8a075f7e 100644 --- a/script/file-uri.lua +++ b/script/file-uri.lua @@ -102,6 +102,9 @@ function m.isValid(uri) if path == '' then return false end + if scheme ~= 'file' then + return false + end return true end |