зеркало из https://github.com/mozilla/gecko-dev.git
Fix for bug 77844 "nsAboutProtocolHandler needs to look for anchor tags", sr = darin.
This commit is contained in:
Родитель
56d6866699
Коммит
e9bb24af9b
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче