diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-11-18 03:41:24 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-11-18 03:41:24 +0800 |
commit | 650d8ac764ed07e90aafae4b9e8f6b86614fa82a (patch) | |
tree | 9b3f79c86759a95a8ec7fd2ad508ac3a629e50cc /embed | |
parent | 9b821adf14833b9583e3ab6a13e543a7a83fb214 (diff) | |
download | gsoc2013-epiphany-650d8ac764ed07e90aafae4b9e8f6b86614fa82a.tar gsoc2013-epiphany-650d8ac764ed07e90aafae4b9e8f6b86614fa82a.tar.gz gsoc2013-epiphany-650d8ac764ed07e90aafae4b9e8f6b86614fa82a.tar.bz2 gsoc2013-epiphany-650d8ac764ed07e90aafae4b9e8f6b86614fa82a.tar.lz gsoc2013-epiphany-650d8ac764ed07e90aafae4b9e8f6b86614fa82a.tar.xz gsoc2013-epiphany-650d8ac764ed07e90aafae4b9e8f6b86614fa82a.tar.zst gsoc2013-epiphany-650d8ac764ed07e90aafae4b9e8f6b86614fa82a.zip |
Retain original uri.
2004-11-17 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/EphyAboutRedirector.cpp:
Retain original uri.
Diffstat (limited to 'embed')
-rw-r--r-- | embed/mozilla/EphyAboutRedirector.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/embed/mozilla/EphyAboutRedirector.cpp b/embed/mozilla/EphyAboutRedirector.cpp index a07fc243c..e20fb59b1 100644 --- a/embed/mozilla/EphyAboutRedirector.cpp +++ b/embed/mozilla/EphyAboutRedirector.cpp @@ -91,6 +91,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); |