ID: 44564 Updated by: [EMAIL PROTECTED] Reported By: email at steffenweber dot net -Status: Open +Status: Closed Bug Type: Strings related Operating System: Gentoo Linux (x86_64) PHP Version: 5.2.6RC3 -Assigned To: +Assigned To: iliaa New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2008-03-29 09:57:23] email at steffenweber dot net I should add that this has worked fine in RC1. ------------------------------------------------------------------------ [2008-03-29 09:52:51] email at steffenweber dot net Description: ------------ In PHP 5.2.6 RC3 escapeshellarg removes UTF-8 multi-byte characters (well, to be honest I have only tested german umlauts) from the input. RC1 has worked fine. I suspect that the following entry in the NEWS file has something to do with this: "Properly address incomplete multibyte chars inside escapeshellcmd() (Ilia, Stefan Esser)" Reproduce code: --------------- php -r "var_dump(escapeshellarg('ä'));" Expected result: ---------------- string(2) "'ä'" Actual result: -------------- string(2) "''" ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44564&edit=1
