util.xmppstream: Have faith in the XML parser matching start and end tags.
[prosody.git] / core / configmanager.lua
index 4cc3ef467f963b360d6dbb573a3641ded702b744..8591949272896550998328271d404b8e509bc414 100644 (file)
@@ -88,7 +88,7 @@ do
                        local is_relative;
                        if path_sep == "/" and path:sub(1,1) ~= "/" then
                                is_relative = true;
-                       elseif path_sep == "\\" and (path:sub(1,1) ~= "/" and path:sub(2,3) ~= ":\\") then
+                       elseif path_sep == "\\" and (path:sub(1,1) ~= "/" and (path:sub(2,3) ~= ":\\" or path:sub(2,3) ~= ":/")) then
                                is_relative = true;
                        end
                        if is_relative then