#34146 [NEW]: it always occuered to upload file which name has space.

From: Date: Tue, 16 Aug 2005 07:57:09 +0000
Subject: #34146 [NEW]: it always occuered to upload file which name has space.
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-83629@lists.php.net to get a copy of this message
From: cm2 at romaji dot net Operating system: Linux support 2.4.27-2-386 PHP version: 4.4.0 PHP Bug Type: Scripting Engine problem Bug description: it always occuered to upload file which name has space. Description: ------------ When I upload any file which name has space( example. "test test.txt"),it occured system error. it happened before executing php script,so I couldn't do noghing... And I think it is a PHP 4.4.0's unique bug. it never occured at PHP 4.3.6. The uploaded file is small one ,and has no paticular point except having a name with space. Reproduce code: --------------- <?php if($_POST["sub_btn"]){ print "send file"; exit(); } ?> <!-- HTML --> <form enctype="multipart/form-data" method="post" action="qa.php"> <INPUT type="file" size="50" name="image_file1"> <INPUT name="sub_btn" type="submit" value="send file"> </form> Expected result: ---------------- send file /* you must choose the file which name has space(ex. "t e.txt" After you had submited, it occured system error. */ Actual result: -------------- system error -- Edit bug report at http://bugs.php.net/?id=34146&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34146&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34146&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34146&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=34146&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=34146&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=34146&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=34146&r=needscript Try newer version: http://bugs.php.net/fix.php?id=34146&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=34146&r=support Expected behavior: http://bugs.php.net/fix.php?id=34146&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=34146&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=34146&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=34146&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34146&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=34146&r=dst IIS Stability: http://bugs.php.net/fix.php?id=34146&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=34146&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=34146&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=34146&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=34146&r=mysqlcfg

« previous php.bugs (#83629) next »