#39604 [NEW]: File Upload Original name problem if it is with apostrophe.
| From: | akocherhan at sagasoft dot com | Date: | Thu, 23 Nov 2006 10:20:03 +0000 |
| Subject: | #39604 [NEW]: File Upload Original name problem if it is with apostrophe. | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-105358@lists.php.net to get a copy of this message | ||
From: akocherhan at sagasoft dot com
Operating system: Windows
PHP version: 4.4.4
PHP Bug Type: Scripting Engine problem
Bug description: File Upload Original name problem if it is with apostrophe.
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 bug report at http://bugs.php.net/?id=39604&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39604&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39604&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39604&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=39604&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=39604&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=39604&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=39604&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=39604&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=39604&r=support
Expected behavior: http://bugs.php.net/fix.php?id=39604&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=39604&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=39604&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=39604&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39604&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=39604&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=39604&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=39604&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=39604&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=39604&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=39604&r=mysqlcfg