From: diego at freagair dot com Operating system: Debian and FreeBSD PHP version: 5.2.9 PHP Bug Type: Unknown/Other Function Bug description: Unknown Whitespace being passed with value
Description: ------------ A user types in a color into an input box, it is then sent via ajax "GET" or "POST" to dynamically color any given "DIV", via "style.backgroundColor" or "color". More specific information about the issue located at the MSDN IE Forums: http://urloid.com/iebug2 It seems that the problem is generated by some whitespace in the PHP string 00380023 00380038 0000000a This whitespace problem occurs with (Debian) and (FreeBSD) Reproduce code: --------------- A white space is passed after any value, the error can be seen using any IE 6-8 http://89.233.173.91/bug/ Expected result: ---------------- I would expect for the value to not contain any whitespace. Example: "#333" is turned into "#333 " which causes errors with all Internet Explorer versions Actual result: -------------- Example at http://89.233.173.91/bug/ totally fails a very simple AJAX/ DOM script, because the PHP value contains a whitespace -- Edit bug report at http://bugs.php.net/?id=47591&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47591&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47591&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47591&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=47591&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47591&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=47591&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=47591&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=47591&r=needscript Try newer version: http://bugs.php.net/fix.php?id=47591&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=47591&r=support Expected behavior: http://bugs.php.net/fix.php?id=47591&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=47591&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=47591&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=47591&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47591&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=47591&r=dst IIS Stability: http://bugs.php.net/fix.php?id=47591&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=47591&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=47591&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=47591&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=47591&r=mysqlcfg