dmitry          Wed Oct 17 11:18:34 2007 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src    NEWS 
    /php-src/ext/soap   php_http.c 
  Log:
  Fixed bug #42637 (SoapFault : Only http and https are allowed). (Bill Moran)
  
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.28&r2=1.2027.2.547.2.965.2.29&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.28 
php-src/NEWS:1.2027.2.547.2.965.2.29
--- php-src/NEWS:1.2027.2.547.2.965.2.28        Wed Oct 17 10:36:33 2007
+++ php-src/NEWS        Wed Oct 17 11:18:34 2007
@@ -50,6 +50,7 @@
 - Fixed bug #42737 (preg_split('//u') triggers a E_NOTICE with newlines). 
(Nuno)
 - Fixed bug #42657 (ini_get() returns incorrect value when default is NULL).
   (Jani)
+- Fixed bug #42637 (SoapFault : Only http and https are allowed). (Bill Moran)
 - Fixed bug #42069 (parse_ini_file() allows using some non-alpha numeric
   characters). (Jani)
 - Fixed bug #37911 (preg_replace_callback() ignores named groups). (Nuno)
http://cvs.php.net/viewvc.cgi/php-src/ext/soap/php_http.c?r1=1.77.2.11.2.12.2.1&r2=1.77.2.11.2.12.2.2&diff_format=u
Index: php-src/ext/soap/php_http.c
diff -u php-src/ext/soap/php_http.c:1.77.2.11.2.12.2.1 
php-src/ext/soap/php_http.c:1.77.2.11.2.12.2.2
--- php-src/ext/soap/php_http.c:1.77.2.11.2.12.2.1      Sun Oct  7 05:22:06 2007
+++ php-src/ext/soap/php_http.c Wed Oct 17 11:18:34 2007
@@ -17,7 +17,7 @@
   |          Dmitry Stogov <[EMAIL PROTECTED]>                             |
   +----------------------------------------------------------------------+
 */
-/* $Id: php_http.c,v 1.77.2.11.2.12.2.1 2007/10/07 05:22:06 davidw Exp $ */
+/* $Id: php_http.c,v 1.77.2.11.2.12.2.2 2007/10/17 11:18:34 dmitry Exp $ */
 
 #include "php_soap.h"
 #include "ext/standard/base64.h"
@@ -918,7 +918,7 @@
                                efree(http_body);
                                efree(loc);
                                if (new_url->scheme == NULL && new_url->path != 
NULL) {
-                                       new_url->scheme = NULL;
+                                       new_url->scheme = phpurl->scheme ? 
estrdup(phpurl->scheme) : NULL;
                                        new_url->host = phpurl->host ? 
estrdup(phpurl->host) : NULL;
                                        new_url->port = phpurl->port;
                                        if (new_url->path && new_url->path[0] 
!= '/') {

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to