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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user