bug 91439 r=pchen sr=darin moa=gagan

about: protocol should be case insensitive
This commit is contained in:
cbiesinger%web.de 2002-08-31 13:47:39 +00:00
Родитель 0da66fc867
Коммит 6abbba3ad2
1 изменённых файлов: 3 добавлений и 0 удалений

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

@ -160,6 +160,9 @@ nsAboutProtocolHandler::NewChannel(nsIURI* uri, nsIChannel* *result)
what.BeginReading(begin);
contractID.Append(Substring(begin, end));
// convert to lowercase, as all about: modules are lowercase
contractID.ToLowerCase();
nsCOMPtr<nsIAboutModule> aboutMod(do_GetService(contractID.get(), &rv));
if (NS_SUCCEEDED(rv)) {
// The standard return case: