Bug #65763 [NEW]: Unable to upload file with square brackets in its name
| From: | sibprogrammer at gmail dot com | Date: | Thu, 26 Sep 2013 03:36:24 +0000 |
| Subject: | Bug #65763 [NEW]: Unable to upload file with square brackets in its name | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-181779@lists.php.net to get a copy of this message | ||
From: sibprogrammer at gmail dot com
Operating system:
PHP version: 5.5.4
Package: Filter related
Bug Type: Bug
Bug description:Unable to upload file with square brackets in its name
Description:
------------
1. Prepare simple upload form. See
http://www.php.net/manual/en/features.file-
upload.post-method.php
2. Try to upload file with following name "[ebook]Title.pdf"
Looks like the root cause if a fix from
https://bugs.php.net/bug.php?id=54374 If
file name contains square bracket it will be simply ignored. But it's not a
proper
solution. We could not force people to rename such files (earlier it was ok
with
PHP 5.2) and also unable to detect error.
Expected result:
----------------
$_FILES array contains information about uploaded file.
Actual result:
--------------
$_FILES array is empty. No errors on upload.
--
Edit bug report at https://bugs.php.net/bug.php?id=65763&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=65763&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=65763&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=65763&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=65763&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=65763&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=65763&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=65763&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=65763&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=65763&r=support
Expected behavior: https://bugs.php.net/fix.php?id=65763&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=65763&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=65763&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=65763&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65763&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=65763&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=65763&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=65763&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=65763&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=65763&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=65763&r=mysqlcfg