From e9bb24af9bb2323ce95cf7c62d58d83100383f62 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. --- netwerk/protocol/about/src/nsAboutProtocolHandler.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/netwerk/protocol/about/src/nsAboutProtocolHandler.cpp b/netwerk/protocol/about/src/nsAboutProtocolHandler.cpp index 750e0a79438b..94a88a178544 100644 --- a/netwerk/protocol/about/src/nsAboutProtocolHandler.cpp +++ b/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);