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,6 +121,7 @@ DAVCollection.prototype = {
|
|||||||
|
|
||||||
this._log.debug(op + " request for " + (path? path : 'root folder'));
|
this._log.debug(op + " request for " + (path? path : 'root folder'));
|
||||||
|
|
||||||
|
if (!path || path[0] != '/')
|
||||||
path = this._defaultPrefix + path;
|
path = this._defaultPrefix + path;
|
||||||
|
|
||||||
let request = Cc["@mozilla.org/xmlextras/xmlhttprequest;1"].createInstance(Ci.nsIXMLHttpRequest);
|
let request = Cc["@mozilla.org/xmlextras/xmlhttprequest;1"].createInstance(Ci.nsIXMLHttpRequest);
|
||||||
|
Loading…
Reference in New Issue
Block a user