diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-11-18 03:41:57 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-11-18 03:41:57 +0800 |
commit | 200aa47a3843fd0194efdaa03184ff96d7b7d10c (patch) | |
tree | 6f5166ba833418e6e514d77155acb53ffc399bcc /embed | |
parent | 0b0f98a2a486cfa4257b017446bbe93f7e352d1e (diff) | |
download | gsoc2013-epiphany-200aa47a3843fd0194efdaa03184ff96d7b7d10c.tar gsoc2013-epiphany-200aa47a3843fd0194efdaa03184ff96d7b7d10c.tar.gz gsoc2013-epiphany-200aa47a3843fd0194efdaa03184ff96d7b7d10c.tar.bz2 gsoc2013-epiphany-200aa47a3843fd0194efdaa03184ff96d7b7d10c.tar.lz gsoc2013-epiphany-200aa47a3843fd0194efdaa03184ff96d7b7d10c.tar.xz gsoc2013-epiphany-200aa47a3843fd0194efdaa03184ff96d7b7d10c.tar.zst gsoc2013-epiphany-200aa47a3843fd0194efdaa03184ff96d7b7d10c.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 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); |