diff options
Diffstat (limited to 'program/steps/utils/spell_googie.inc')
-rw-r--r-- | program/steps/utils/spell_googie.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/utils/spell_googie.inc b/program/steps/utils/spell_googie.inc index d06a1a88a..9d47a51b4 100644 --- a/program/steps/utils/spell_googie.inc +++ b/program/steps/utils/spell_googie.inc @@ -46,7 +46,7 @@ $store = ""; if ($fp = fsockopen($host, $port, $errno, $errstr, 30)) { $out = "POST $path HTTP/1.0\r\n"; - $out .= "Host: $host\r\n"; + $out .= "Host: " . str_replace('ssl://', '', $host) . "\r\n"; $out .= "Content-Length: " . strlen($data) . "\r\n"; $out .= "Content-Type: application/x-www-form-urlencoded\r\n"; $out .= "Connection: Close\r\n\r\n"; |