mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
treat paths beginning with '/' as absolute
This commit is contained in:
parent
f8a841ee5e
commit
5c196a641a
@ -121,7 +121,8 @@ DAVCollection.prototype = {
|
||||
|
||||
this._log.debug(op + " request for " + (path? path : 'root folder'));
|
||||
|
||||
path = this._defaultPrefix + path;
|
||||
if (!path || path[0] != '/')
|
||||
path = this._defaultPrefix + path;
|
||||
|
||||
let request = Cc["@mozilla.org/xmlextras/xmlhttprequest;1"].createInstance(Ci.nsIXMLHttpRequest);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user