#37941 [NEW]: Hardcoded faultstring in add_soap_fault on HTTP error codes
| From: | knut dot urdalen at telio dot no | Date: | Wed, 28 Jun 2006 06:28:33 +0000 |
| Subject: | #37941 [NEW]: Hardcoded faultstring in add_soap_fault on HTTP error codes | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-98874@lists.php.net to get a copy of this message | ||
From: knut dot urdalen at telio dot no
Operating system: Any
PHP version: 5.1.5CVS
PHP Bug Type: SOAP related
Bug description: Hardcoded faultstring in add_soap_fault on HTTP error codes
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.
--
Edit bug report at http://bugs.php.net/?id=37941&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37941&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=37941&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37941&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37941&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=37941&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=37941&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=37941&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=37941&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=37941&r=support
Expected behavior: http://bugs.php.net/fix.php?id=37941&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=37941&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=37941&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37941&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37941&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37941&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=37941&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=37941&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=37941&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=37941&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=37941&r=mysqlcfg