Bug #17985: SOAP Class Value Type Issue

From: Date: Tue, 25 Jun 2002 23:39:38 +0000
Subject: Bug #17985: SOAP Class Value Type Issue
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-7361@lists.php.net to get a copy of this message
From: programming@cari.net Operating system: Linux PHP version: 4.1.2 PHP Bug Type: PEAR related Bug description: SOAP Class Value Type Issue 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. -- Edit bug report at http://bugs.php.net/?id=17985&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17985&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17985&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17985&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17985&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17985&r=support Expected behavior: http://bugs.php.net/fix.php?id=17985&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17985&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17985&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17985&r=globals

« previous php.pear.dev (#7361) next »