fix crash reading rss feeds, sr=mscott 328219, problem exposed by some http changes today;

This commit is contained in:
bienvenu%nventure.com 2006-02-22 22:04:25 +00:00
Родитель dda56e7625
Коммит 663dd3003e
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -67,7 +67,7 @@ var FeedCache =
normalizeHost: function (aUrl) normalizeHost: function (aUrl)
{ {
var ioService = Components.classes["@mozilla.org/network/io-service;1"]. var ioService = Components.classes["@mozilla.org/network/io-service;1"].
createInstance(Components.interfaces.nsIIOService); getService(Components.interfaces.nsIIOService);
var normalizedUrl = ioService.newURI(aUrl, null, null); var normalizedUrl = ioService.newURI(aUrl, null, null);
normalizedUrl.host = normalizedUrl.host.toLowerCase(); normalizedUrl.host = normalizedUrl.host.toLowerCase();
return normalizedUrl.spec; return normalizedUrl.spec;