#32826 [NEW]: safe_mode argument quotation
| From: | jan dot klepal at bonicom dot cz | Date: | Mon, 25 Apr 2005 19:58:25 +0000 |
| Subject: | #32826 [NEW]: safe_mode argument quotation | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-78174@lists.php.net to get a copy of this message | ||
From: jan dot klepal at bonicom dot cz
Operating system: Linux
PHP version: 4CVS-2005-04-25 (stable)
PHP Bug Type: Unknown/Other Function
Bug description: safe_mode argument quotation
Description:
------------
While safe_mode is enabled PHP slash quotes in arguments passed to
programs executed by exec functions.
Reproduce code:
---------------
passthru("echo \"some 'quoted' text\"");
passthru("echo 'some \"quoted\" text'");
Expected result:
----------------
some 'quoted' text
some "quoted" text
Actual result:
--------------
some \'quoted\' text
some \"quoted\" text
--
Edit bug report at http://bugs.php.net/?id=32826&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32826&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32826&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32826&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=32826&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=32826&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=32826&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=32826&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=32826&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=32826&r=support
Expected behavior: http://bugs.php.net/fix.php?id=32826&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=32826&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=32826&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=32826&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32826&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=32826&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=32826&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=32826&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=32826&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=32826&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=32826&r=mysqlcfg