From f73e62a21fcd2da41dfef387ec1bb89f20fb79af Mon Sep 17 00:00:00 2001 From: wadeziegler Date: Wed, 24 Aug 2016 15:01:01 -0700 Subject: [PATCH] Fix for Issue #153 "Unterminated character class" --- lib/DAV/backends/fs/tree.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/DAV/backends/fs/tree.js b/lib/DAV/backends/fs/tree.js index 24b6817b..d8d25ada 100644 --- a/lib/DAV/backends/fs/tree.js +++ b/lib/DAV/backends/fs/tree.js @@ -59,7 +59,7 @@ var jsDAV_FS_Tree = module.exports = jsDAV_Tree.extend({ * @return string */ getRealPath: function(publicPath) { - return Path.join(Util.rtrim(this.basePath, Path.sep), Util.trim(publicPath, Path.sep)); + return Path.join(Util.rtrim(this.basePath, '/\\\\'), Util.trim(publicPath, '/\\\\')); }, /**