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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ryan at netidea dot com
New email:
PHP Version: OS:

 

 [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: Thu Dec 01 21:05:53 2022 UTC