]> granicus.if.org Git - php/commitdiff
Fixed bug #28702 (SOAP does not parse WSDL service address correctly).
authorDmitry Stogov <dmitry@php.net>
Thu, 10 Jun 2004 09:07:09 +0000 (09:07 +0000)
committerDmitry Stogov <dmitry@php.net>
Thu, 10 Jun 2004 09:07:09 +0000 (09:07 +0000)
NEWS
ext/soap/php_http.c

diff --git a/NEWS b/NEWS
index 96dcaed9dbfe7005bc512eaa8f920caae685506c..6870e88171348afcd7cc7f6a1359c7afd51e64f7 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,7 @@
 PHP                                                                        NEWS
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 ?? Jul 2004, PHP 5.0.0
+- Fixed bug #28702 (SOAP does not parse WSDL service address correctly). (Dmitry)
 - Fixed bug #28694 (ReflectionExtension::getFunctions() crashes PHP). (Marcus)
 
 7 Jun 2004, PHP 5 Release Candidate 3
index 0d6982f81f535ca60c081e6e36c17ff79830d84e..b37d507986c876c6f0a3e7dc07902ae0880d31a1 100644 (file)
@@ -309,6 +309,10 @@ int send_http_soap_request(zval *this_ptr, char *buf, int buf_size, char *locati
                        smart_str_append_unsigned(&soap_headers, phpurl->port);
                }
                smart_str_appends(&soap_headers, phpurl->path);
+               if (phpurl->query) {
+                       smart_str_appendc(&soap_headers, '?');
+                       smart_str_appends(&soap_headers, phpurl->query);
+               }
                smart_str_append_const(&soap_headers, " HTTP/1.1\r\n"
                        "Host: ");
                smart_str_appends(&soap_headers, phpurl->host);