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

git-svn-id: svn://10.0.0.236/trunk@93761 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
gordon%netscape.com
2001-05-03 02:36:45 +00:00
parent a3fc07f496
commit 758b38865c

View File

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