#39604 [Opn->Fbk]: File Upload Original name problem if it is with apostrophe.
| From: | tony2001@php.net | Date: | Thu, 23 Nov 2006 10:23:00 +0000 |
| Subject: | #39604 [Opn->Fbk]: File Upload Original name problem if it is with apostrophe. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-105359@lists.php.net to get a copy of this message | ||
ID: 39604
Updated by: tony2001@php.net
Reported By: akocherhan at sagasoft dot com
-Status: Open
+Status: Feedback
-Bug Type: Scripting Engine problem
+Bug Type: Unknown/Other Function
Operating System: Windows
PHP Version: 4.4.4
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2006-11-23 10:20:03] akocherhan at sagasoft dot com
Description:
------------
I have the same problem as it was described in bug #31398 and #38245.
I.e. if file name is test1'test2.txt the first part of the filename
including the apostrophe is cut off so it
shows as: test2.txt
php version is 4.4.4.
Also I tried to install the latest version from cvs (4.4.5 dev).But
this bug still exist.
Please tell me what I must to do to fix this problem.
Reproduce code:
---------------
<?php print_r($_FILES); ?>
<form action="2.php" method="post"
enctype="multipart/form-data">
<p>File:
<input type="file" name="newfile" />
<input type="submit" value="Send" />
</p>
</form>
Expected result:
----------------
The full name of the file uploaded including the apostrophe.
Actual result:
--------------
The first part of the filename is cut off including the apostrophe.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39604&edit=1