php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #276 Exec() series of functions don't unslashify quoted metacharacters
Submitted: 1998-04-15 14:29 UTC Modified: 1998-04-15 15:52 UTC
From: ryan at netidea dot com Assigned:
Status: Closed Package: Other
PHP Version: 3.0 Release Candidate 3 OS: linux 2.0.33, apache 1.2.5 modul
Private report: No CVE-ID: None
 [1998-04-15 14:29 UTC] ryan at netidea dot com
The short line pretty much describes it all... a call like:
System("/bin/program \#argh");
will call "/bin/program" with the first parameter
set to "\#argh", not "#argh" as one would expect...


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-04-15 15:52 UTC] zeev
Nothing to do with exec() - that's the way
double quotes behave
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue May 24 00:03:50 2022 UTC