treat paths beginning with '/' as absolute

This commit is contained in:
Dan Mills 2008-06-17 09:51:02 +09:00
parent f8a841ee5e
commit 5c196a641a

View File

@ -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);