Fix for bug 77844 "nsAboutProtocolHandler needs to look for anchor tags", sr = darin.

This commit is contained in:
gordon%netscape.com 2001-05-03 02:36:45 +00:00
Родитель 56d6866699
Коммит e9bb24af9b
1 изменённых файлов: 3 добавлений и 0 удалений

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

@ -136,6 +136,9 @@ nsAboutProtocolHandler::NewChannel(nsIURI* uri, nsIChannel* *result)
FindCharInReadable('?', begin, end); // moves begin to first '?' or to end
end = begin;
what.BeginReading(begin);
FindCharInReadable('#', begin, end); // moves begin to first '#' or to end
end = begin;
what.BeginReading(begin);
contractID.Append(Substring(begin, end));
NS_WITH_SERVICE(nsIAboutModule, aboutMod, contractID.get(), &rv);