X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fhttp-functions.php;h=1dea0788ec2734f9658e0a8a49b561c78070c289;hb=5c0d2c01826cb3802aed682513b7f98454394867;hp=4fc66c95a5a94a4850f1af9106d3a284b9e34ace;hpb=5eb7669649ebf60e74a83df70ad4f357d656b204;p=mailer.git diff --git a/inc/http-functions.php b/inc/http-functions.php index 4fc66c95a5..1dea0788ec 100644 --- a/inc/http-functions.php +++ b/inc/http-functions.php @@ -278,7 +278,7 @@ function sendHttpPostRequest ($baseUrl, $requestData = array(), $removeHeader = $body = http_build_query($requestData, '', '&'); // Generate POST request header - $request = 'POST ' . (isProxyUsed() === TRUE ? $baseUrl : '') . trim($baseUrl) . ' HTTP/1.0' . getConfig('HTTP_EOL'); + $request = 'POST ' . (isProxyUsed() === TRUE ? $getUrl : '') . trim($getUrl) . ' HTTP/1.0' . getConfig('HTTP_EOL'); $request .= 'Host: ' . $host . getConfig('HTTP_EOL'); $request .= 'Referer: ' . getUrl() . '/admin.php' . getConfig('HTTP_EOL'); if (isConfigEntrySet('FULL_VERSION')) {