From: Michael Wallner Date: Thu, 8 Oct 2009 08:39:56 +0000 (+0000) Subject: * fix pecl bug #16533 (http_redirect fails with url->port==0) X-Git-Tag: RELEASE_1_6_6~5 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=commitdiff_plain;h=01c68b6f1088cec2a5fceafe17c6b20a9fe41ec8 * fix pecl bug #16533 (http_redirect fails with url->port==0) --- diff --git a/http_url_api.c b/http_url_api.c index 09558a2..c1a4f81 100644 --- a/http_url_api.c +++ b/http_url_api.c @@ -175,6 +175,7 @@ PHP_HTTP_API void _http_build_url(int flags, const php_url *old_url, const php_u default: #endif case 80: + case 0: url->scheme = estrndup("http", lenof("http")); break; diff --git a/package2.xml b/package2.xml index 6896963..fd5f10e 100644 --- a/package2.xml +++ b/package2.xml @@ -39,7 +39,8 @@ support. Parallel requests are available for PHP 5 and greater. BSD, revised port==0) +* Fixed bug #16817 (Proxy-Auth. and WWW-Auth. credentials mixed after connection reuse) ]]>