dmitry Fri Sep 16 11:48:31 2005 EDT
Modified files: (Branch: PHP_5_1)
/php-src NEWS
/php-src/ext/soap php_http.c
Log:
Fixed bug #34478 (Incorrect parsing of url's fragment (#...))
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.2027.2.62&r2=1.2027.2.63&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.62 php-src/NEWS:1.2027.2.63
--- php-src/NEWS:1.2027.2.62 Fri Sep 16 10:42:40 2005
+++ php-src/NEWS Fri Sep 16 11:48:30 2005
@@ -30,6 +30,7 @@
- Fixed failing queries (FALSE returned) with mysqli_query() on 64 bit systems.
(Andrey)
- Fixed bug #34518 (Unset doesn't separate container in CV). (Dmitry)
+- Fixed bug #34478 (Incorrect parsing of url's fragment (#...)). (Dmitry)
- Fixed bug #34456 (Possible crash inside pspell extension). (Nuno)
- Fixed bug #34450 (Segfault when calling mysqli_close() in destructor). (Tony)
- Fixed bug #34449 (ext/soap: XSD_ANYXML functionality not exposed). (Dmitry)
http://cvs.php.net/diff.php/php-src/ext/soap/php_http.c?r1=1.77&r2=1.77.2.1&ty=u
Index: php-src/ext/soap/php_http.c
diff -u php-src/ext/soap/php_http.c:1.77 php-src/ext/soap/php_http.c:1.77.2.1
--- php-src/ext/soap/php_http.c:1.77 Wed Aug 3 10:07:47 2005
+++ php-src/ext/soap/php_http.c Fri Sep 16 11:48:30 2005
@@ -17,7 +17,7 @@
| Dmitry Stogov <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
*/
-/* $Id: php_http.c,v 1.77 2005/08/03 14:07:47 sniper Exp $ */
+/* $Id: php_http.c,v 1.77.2.1 2005/09/16 15:48:30 dmitry Exp $ */
#include "php_soap.h"
#include "ext/standard/base64.h"
@@ -400,6 +400,10 @@
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 @@
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" */
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php