projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Merge branch 'v2.6.x'
[m6w6/ext-http]
/
src
/
php_http_info.c
diff --git
a/src/php_http_info.c
b/src/php_http_info.c
index 9045cd40997d4b23fa5ba97aadd1d6ab5947be4e..4e43fda8eaa27888c6b72aca907d8e2f5fcf1ac7 100644
(file)
--- a/
src/php_http_info.c
+++ b/
src/php_http_info.c
@@
-147,9
+147,9
@@
php_http_info_t *php_http_info_parse(php_http_info_t *info, const char *pre_head
if (http > url) {
/* CONNECT presents an authority only */
if (strcasecmp(PHP_HTTP_INFO(info).request.method, "CONNECT")) {
if (http > url) {
/* CONNECT presents an authority only */
if (strcasecmp(PHP_HTTP_INFO(info).request.method, "CONNECT")) {
- PHP_HTTP_INFO(info).request.url = php_http_url_parse(url, http - url,
~0
);
+ PHP_HTTP_INFO(info).request.url = php_http_url_parse(url, http - url,
PHP_HTTP_URL_STDFLAGS
);
} else {
} else {
- PHP_HTTP_INFO(info).request.url = php_http_url_parse_authority(url, http - url,
~0
);
+ PHP_HTTP_INFO(info).request.url = php_http_url_parse_authority(url, http - url,
PHP_HTTP_URL_STDFLAGS
);
}
if (!PHP_HTTP_INFO(info).request.url) {
PTR_SET(PHP_HTTP_INFO(info).request.method, NULL);
}
if (!PHP_HTTP_INFO(info).request.url) {
PTR_SET(PHP_HTTP_INFO(info).request.method, NULL);