|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-06-25 21:20 UTC] shane at caraveo dot com
[2002-06-26 11:50 UTC] programming at cari dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 06:00:01 2025 UTC |
We discovered a problem with the type detection code in Base.php within the SOAP class. It incorectly detects strings like CC or even abcd as 'hexBinary'. It took us quite a while to discover what was happening. The server then takes the string and tries to un-hex it. This leads to incorrect data arriving at the server. The code in Base.php looks like this: if (SOAP_Type_hexBinary::is_hexbin($value)) { $type = 'hexBinary'; } else We simply commented it out so that it wouldn't change the type. I know what this code is trying to do, but this is probably not the best way to do it.