Req #53493 [NEW]: xmlrpc_decode should not be sensitive to leading whitespace
| From: | martin at kopta dot eu | Date: | Tue, 07 Dec 2010 14:51:20 +0000 |
| Subject: | Req #53493 [NEW]: xmlrpc_decode should not be sensitive to leading whitespace | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-156810@lists.php.net to get a copy of this message | ||
From:
Operating system: Ubuntu 10.04 LTS Server
PHP version: 5.3.3
Package: XMLRPC-EPI related
Bug Type: Feature/Change Request
Bug description:xmlrpc_decode should not be sensitive to leading whitespace
Description:
------------
My version of PHP is PHP 5.3.2-1ubuntu4.5. I did some upgrades a few
hours/days back and I noticed that my XMLRPC responses are decoded as NULL
by the xmlrpc_decode() function. As I experimented around this function, I
found that it is sensitive to leading whitespace. When leading whitespace
is present (a newline in my case), xmlrpc_decode() returns NULL. When
ltrim() is used on the string before passed into xmlrpc_decode(), output is
alright. Presence of whitespace present at the end of the string does not
have any effect.
Summary: xmlrpc_decode() is sensitive to leading whitespace and it should
not be.
---
From manual page: http://www.php.net/function.xmlrpc-decode#Description
---
--
Edit bug report at http://bugs.php.net/bug.php?id=53493&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=53493&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=53493&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=53493&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=53493&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=53493&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=53493&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=53493&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=53493&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=53493&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=53493&r=support
Expected behavior: http://bugs.php.net/fix.php?id=53493&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=53493&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=53493&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=53493&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=53493&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=53493&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=53493&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=53493&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=53493&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=53493&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=53493&r=mysqlcfg