From: webmaster at cricel dot com Operating system: Win32 Widows XP PHP version: 4.3.4 PHP Bug Type: PHP options/info functions Bug description: php_value is buggy for paths
Description: ------------ Using php_value to set include_path into httpd.conf or .htaccess keeps the last " into the variable. Example, php_php_value include_path "/mydisk/mydir/" will set include_path to /mydisk/mydir/" therefore any include/require statement will build /mydisk/mydic/"myfile.inc.php while is expected /mydisk/mydic/myfile.inc.php Reproduce code: --------------- php_value include_path "C:\Documents and Settings\JM\Mes documents\Web\www\html\ssi\php\" Expected result: ---------------- C:\Documents and Settings\JM\Mes documents\Web\www\html\ssi\php\ Actual result: -------------- C:\Documents and Settings\JM\Mes documents\Web\www\html\ssi\php\" -- Edit bug report at http://bugs.php.net/?id=26858&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26858&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26858&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=26858&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=26858&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=26858&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=26858&r=needscript Try newer version: http://bugs.php.net/fix.php?id=26858&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=26858&r=support Expected behavior: http://bugs.php.net/fix.php?id=26858&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=26858&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=26858&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=26858&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26858&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=26858&r=dst IIS Stability: http://bugs.php.net/fix.php?id=26858&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=26858&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=26858&r=float
