bug 57840, tre blocker, r=gagan,don
git-svn-id: svn://10.0.0.236/branches/Netscape_20000922_BRANCH@81744 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1766,11 +1766,13 @@ nsresult nsHTTPChannel::Redirect(const char *aNewLocation,
|
||||
rv = channel->SetOriginalURI(mOriginalURI);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
nsCOMPtr<nsIChannel> tempChannel;
|
||||
rv = mLoadGroup->GetDefaultLoadChannel(getter_AddRefs(tempChannel));
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
if (tempChannel == this) {
|
||||
mLoadGroup->SetDefaultLoadChannel(channel);
|
||||
if (mLoadGroup) {
|
||||
nsCOMPtr<nsIChannel> tempChannel;
|
||||
rv = mLoadGroup->GetDefaultLoadChannel(getter_AddRefs(tempChannel));
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
if (tempChannel == this) {
|
||||
mLoadGroup->SetDefaultLoadChannel(channel);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user