Skip to content

Commit

Permalink
Merge pull request #1 from wadeziegler/patch-1
Browse files Browse the repository at this point in the history
Fix for Issue mikedeboer#153 "Unterminated character class"
  • Loading branch information
SwadicalRag authored Feb 25, 2017
2 parents 1fe585d + f73e62a commit 40ebe05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/DAV/backends/fs/tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -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, '/\\\\'));
},

/**
Expand Down

0 comments on commit 40ebe05

Please sign in to comment.