From 8b4533461c77d68f322a73f91ccc5c47b70585ce Mon Sep 17 00:00:00 2001 From: "neil%parkwaycc.co.uk" Date: Fri, 15 Sep 2006 09:51:59 +0000 Subject: [PATCH] Bug 269827 Redirected about channel has wrong original URI r+sr=darin git-svn-id: svn://10.0.0.236/trunk@211804 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/docshell/base/nsAboutRedirector.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mozilla/docshell/base/nsAboutRedirector.cpp b/mozilla/docshell/base/nsAboutRedirector.cpp index 17a5aafc47e..6bfa07418b5 100644 --- a/mozilla/docshell/base/nsAboutRedirector.cpp +++ b/mozilla/docshell/base/nsAboutRedirector.cpp @@ -95,6 +95,8 @@ nsAboutRedirector::NewChannel(nsIURI *aURI, nsIChannel **result) if (NS_FAILED(rv)) return rv; + tempChannel->SetOriginalURI(aURI); + // Keep the page from getting unnecessary privileges unless it needs them if (kRedirMap[i].dropChromePrivs) {