php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37941 Hardcoded faultstring in add_soap_fault on HTTP error codes
Submitted: 2006-06-28 06:28 UTC Modified: 2006-07-06 01:00 UTC
From: knut dot urdalen at telio dot no Assigned:
Status: No Feedback Package: SOAP related
PHP Version: 5.1.5CVS OS: Any
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2006-06-28 06:28 UTC] knut dot urdalen at telio dot no
Description:
------------
I pointed Ilia to this problem at PHP Vikinger this weekend as described on the SOAP list: http://news.php.net/php.soap/2135

I see he has just commited the patch to CVS:
http://cvs.php.net/viewvc.cgi/php-src/ext/soap/php_http.c?r1=1.90&r2=1.91

I'm still opening a bug report to keep track of the issue.

Reproduce code:
---------------
$client = new SoapClient('some.wsdl');

try {
  $res = $client->someFunctionThatThrowsASoapFaultFromHTTPFailure();
} catch(SoapFault $e) {
  echo $e->faultstring; 
}

Expected result:
----------------
The actual HTTP message from the web server.

Actual result:
--------------
A hardcoded HTTP message.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-06-28 07:52 UTC] tony2001@php.net
http://news.php.net/php.cvs/38960 - did this patch fix it?
 [2006-07-06 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 03:01:27 2024 UTC