From 926cb5fde135d74ff49d7451bd94dcb713736f39 Mon Sep 17 00:00:00 2001 From: "reed%reedloden.com" Date: Thu, 7 Feb 2008 09:08:17 +0000 Subject: [PATCH] Bug 415078 - "nsWebShell.cpp attempts to fixup immutable URIs" [p=graememcc_firefox@graeme-online.co.uk (graememcc) r+sr=bzbarsky a1.9=schrep] git-svn-id: svn://10.0.0.236/trunk@245115 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/docshell/base/nsWebShell.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mozilla/docshell/base/nsWebShell.cpp b/mozilla/docshell/base/nsWebShell.cpp index d8444426b51..5778b72696d 100644 --- a/mozilla/docshell/base/nsWebShell.cpp +++ b/mozilla/docshell/base/nsWebShell.cpp @@ -1161,10 +1161,6 @@ nsresult nsWebShell::EndPageLoad(nsIWebProgress *aProgress, newURI->GetSpec(newSpec); NS_ConvertUTF8toUTF16 newSpecW(newSpec); - // This seems evil, since it is modifying the original URL - rv = url->SetSpec(newSpec); - if (NS_FAILED(rv)) return rv; - return LoadURI(newSpecW.get(), // URI string LOAD_FLAGS_NONE, // Load flags nsnull, // Referring URI