|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-03-29 09:57 UTC] email at steffenweber dot net
[2008-03-30 12:18 UTC] felipe@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 06:00:01 2025 UTC |
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) "''"