mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Check for "<?xml" header was removed
This commit is contained in:
parent
ccd3f39e98
commit
5ebcab9da3
1 changed files with 2 additions and 1 deletions
|
@ -330,9 +330,9 @@ int get_http_soap_response(zval *this_ptr, char **buffer, int *buffer_len TSRMLS
|
|||
} else {
|
||||
cmplen = strlen(content_type);
|
||||
}
|
||||
|
||||
if (strncmp(content_type, "text/xml", cmplen) == 0 ||
|
||||
strncmp(content_type, "application/soap+xml", cmplen == 0)) {
|
||||
/*
|
||||
if (strncmp(http_body, "<?xml", 5)) {
|
||||
zval *err;
|
||||
MAKE_STD_ZVAL(err);
|
||||
|
@ -343,6 +343,7 @@ int get_http_soap_response(zval *this_ptr, char **buffer, int *buffer_len TSRMLS
|
|||
efree(http_body);
|
||||
return FALSE;
|
||||
}
|
||||
*/
|
||||
}
|
||||
efree(content_type);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue