#29369 [Opn->Csd]: filename with double quotes cutted during upload
| From: | iliaa@php.net | Date: | Sun, 25 Jul 2004 19:19:40 +0000 |
| Subject: | #29369 [Opn->Csd]: filename with double quotes cutted during upload | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-63510@lists.php.net to get a copy of this message | ||
ID: 29369
Updated by: iliaa@php.net
Reported By: florian at angehrn dot com
-Status: Open
+Status: Closed
Bug Type: *Directory/Filesystem functions
Operating System: Linux
PHP Version: 4.3.8
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2004-07-25 00:51:32] florian at angehrn dot com
Description:
------------
if i upload a file which contains double quotes in it, the filename is
cutted
Reproduce code:
---------------
<pre>
<?php print_r($_FILES); ?>
</pre>
<form enctype="multipart/form-data" action="" method="post">
<input type="hidden" name="MAX_FILE_SIZE" value="30000" />
Send this file: <input name="userfile" type="file" />
<input type="submit" value="Send File" />
</form>
Expected result:
----------------
input file: 0119"1.jpg
content of $_FILES['userfile']['name']: 0119"1.jpg
Actual result:
--------------
input file: 0119"1.jpg
content of $_FILES['userfile']['name']: 0119
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29369&edit=1