mirror of
git://develop.git.wordpress.org/
synced 2025-01-18 21:28:02 +01:00
Revert snoopy change that breaks with canonical feeds.
git-svn-id: https://develop.svn.wordpress.org/trunk@9308 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e6708e9504
commit
8adf0a06da
@ -789,7 +789,7 @@ class Snoopy
|
||||
$headers .= "User-Agent: ".$this->agent."\r\n";
|
||||
if(!empty($this->host) && !isset($this->rawheaders['Host'])) {
|
||||
$headers .= "Host: ".$this->host;
|
||||
if(!empty($this->port))
|
||||
if(!empty($this->port) && $this->port != 80)
|
||||
$headers .= ":".$this->port;
|
||||
$headers .= "\r\n";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user