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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: knut dot urdalen at telio dot no
New email:
PHP Version: OS:

 

 [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-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC