Stop using [] flag in URI host
X-notifier should stop using [] flag in URI host, or it will no longer work on Firefox 32.
In function getCookie in components\cookieManager2.js:
if(typeof(aURI)=="string"){
var ioService = Components.classes["@mozilla.org/network/io-service;1"]
.getService(Ci.nsIIOService);
aURI=ioService.newURI(aURI,null,null);
}
aURI=aURI.clone();
aURI.host+=this.ext;
The problem is that this.ext is enclosed in [].
After Bug 960014 it throws NS_ERROR_MALFORMED_URI error. I thought Bug 1022207 would fix it, but it seems [] will no longer be allowed in domain names (comments 31 and 33).
tobwithu
Fri, 06/27/2014 - 23:48
Permalink
I think I should use
I think I should use malformed URI to avoid confliction with welformed URI.
However, this problem is fixed in 3.4.2.