diff options
Diffstat (limited to 'ext/soap/php_http.c')
| -rw-r--r-- | ext/soap/php_http.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/soap/php_http.c b/ext/soap/php_http.c index 607fe040c3..b9d6f49bf3 100644 --- a/ext/soap/php_http.c +++ b/ext/soap/php_http.c @@ -400,6 +400,10 @@ try_again: smart_str_appendc(&soap_headers, '?'); smart_str_appends(&soap_headers, phpurl->query); } + if (phpurl->fragment) { + smart_str_appendc(&soap_headers, '#'); + smart_str_appends(&soap_headers, phpurl->fragment); + } smart_str_append_const(&soap_headers, " HTTP/1.1\r\n" "Host: "); smart_str_appends(&soap_headers, phpurl->host); @@ -556,6 +560,10 @@ try_again: smart_str_appendc(&soap_headers, '?'); smart_str_appends(&soap_headers, phpurl->query); } + if (phpurl->fragment) { + smart_str_appendc(&soap_headers, '#'); + smart_str_appends(&soap_headers, phpurl->fragment); + } if (zend_hash_find(Z_ARRVAL_PP(digest), "qop", sizeof("qop"), (void **)&tmp) == SUCCESS && Z_TYPE_PP(tmp) == IS_STRING) { /* TODO: Support for qop="auth-int" */ |
