Since fix of bug #35273 SOAP decoding of base64binary fails
| Bug #35399 | Since fix of bug #35273 SOAP decoding of base64binary fails | ||||
|---|---|---|---|---|---|
| Submitted: | 2005-11-25 21:43 UTC | Modified: | 2005-11-28 11:28 UTC | ||
| From: | thetaphi@php.net | Assigned: | dmitry (profile) | ||
| Status: | Closed | Package: | SOAP related | ||
| PHP Version: | 5.1.0 | OS: | Solaris 9 | ||
| Private report: | No | CVE-ID: | None | ||
[2005-11-25 21:43 UTC] thetaphi@php.net
Description: ------------ Installed today PHP 5.1.0 final and for the first time everything worked OK. But after five hours the WSDL cache outdated and the webservice refetched our WSDL. After that for the first time everything works OK and like exspected (for PHP 5.1!) - base64binarys decode as exspected (not like in 5.0 where this was missing). After reloading the page and when the SOAP extension used the WSDL from the cache the data was only available in raw base64 form. When reverting the following patch it works as exspected: http://cvs.php.net/diff.php/php-src/ext/soap/php_sdl.c?r1=1.88.2.1&r2=1.88.2.2&ty=h Reproduce code: --------------- * Clear the WSDL cache in /tmp * Access a SOAP service that returns a base64binary somewhere in its complex return type (this should work) * reload the page (now the data is not decoded) - if you remove the wsdl-* cache files it works again.
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2005-11-25 22:56 UTC] thetaphi@php.net
[2005-11-28 11:10 UTC] dmitry@php.net
[2005-11-28 11:28 UTC] thetaphi@php.net