Changeset 1056

Show
Ignore:
Timestamp:
09/11/07 14:42:26 (1 year ago)
Author:
donncha
Message:

Fixes redirect, fixes #419

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/class-snoopy.php

    r1005 r1056  
    797797                if(!empty($this->host) && !isset($this->rawheaders['Host'])) { 
    798798                        $headers .= "Host: ".$this->host; 
    799                         if(!empty($this->port)
     799                        if(!empty($this->port) && $this->port != 80
    800800                                $headers .= ":".$this->port; 
    801801                        $headers .= "\r\n"; 
     
    817817                                } 
    818818                                $headers .= substr($cookie_headers,0,-2) . "\r\n"; 
    819                         }  
     819                        } 
    820820                } 
    821821                if(!empty($this->rawheaders))