diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | embed/mozilla/EphyAboutRedirector.cpp | 2 |
2 files changed, 8 insertions, 0 deletions
@@ -1,5 +1,11 @@ 2004-11-17 Christian Persch <chpe@cvs.gnome.org> + * embed/mozilla/EphyAboutRedirector.cpp: + + Retain original uri. + +2004-11-17 Christian Persch <chpe@cvs.gnome.org> + * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: diff --git a/embed/mozilla/EphyAboutRedirector.cpp b/embed/mozilla/EphyAboutRedirector.cpp index e5b879ed6..54a602673 100644 --- a/embed/mozilla/EphyAboutRedirector.cpp +++ b/embed/mozilla/EphyAboutRedirector.cpp @@ -89,6 +89,8 @@ EphyAboutRedirector::NewChannel(nsIURI *aURI, nsIChannel **result) nsnull, nsnull, getter_AddRefs(tempChannel)); NS_ENSURE_TRUE (tempChannel, NS_ERROR_FAILURE); + tempChannel->SetOriginalURI(aURI); + *result = tempChannel.get(); NS_ADDREF(*result); |