Changeset 1056
- Timestamp:
- 09/11/07 14:42:26 (1 year ago)
- Files:
-
- trunk/wp-includes/class-snoopy.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/class-snoopy.php
r1005 r1056 797 797 if(!empty($this->host) && !isset($this->rawheaders['Host'])) { 798 798 $headers .= "Host: ".$this->host; 799 if(!empty($this->port) )799 if(!empty($this->port) && $this->port != 80) 800 800 $headers .= ":".$this->port; 801 801 $headers .= "\r\n"; … … 817 817 } 818 818 $headers .= substr($cookie_headers,0,-2) . "\r\n"; 819 } 819 } 820 820 } 821 821 if(!empty($this->rawheaders))
