From 20ee94e8fcdec7568c62e8791d4dd324e13323f9 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Thu, 8 Oct 2009 08:39:56 +0000 Subject: [PATCH] * fix pecl bug #16533 (http_redirect fails with url->port==0) --- http_url_api.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.30.2