From 758b38865c7446c2196750ee041f649f5148ada2 Mon Sep 17 00:00:00 2001 From: "gordon%netscape.com" Date: Thu, 3 May 2001 02:36:45 +0000 Subject: [PATCH] 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 --- mozilla/netwerk/protocol/about/src/nsAboutProtocolHandler.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mozilla/netwerk/protocol/about/src/nsAboutProtocolHandler.cpp b/mozilla/netwerk/protocol/about/src/nsAboutProtocolHandler.cpp index 750e0a79438..94a88a17854 100644 --- a/mozilla/netwerk/protocol/about/src/nsAboutProtocolHandler.cpp +++ b/mozilla/netwerk/protocol/about/src/nsAboutProtocolHandler.cpp @@ -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);