projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
b37be57
)
* fix pecl bug #16533 (http_redirect fails with url->port==0)
author
Michael Wallner
<mike@php.net>
Thu, 8 Oct 2009 08:39:56 +0000
(08:39 +0000)
committer
Michael Wallner
<mike@php.net>
Thu, 8 Oct 2009 08:39:56 +0000
(08:39 +0000)
http_url_api.c
patch
|
blob
|
history
diff --git
a/http_url_api.c
b/http_url_api.c
index 09558a246386f767a14365af4bc80bb7b6e52a0c..c1a4f81b0535125af32c8c1647dde675905cc5d8 100644
(file)
--- 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;