Bug #65763 [Opn->Fbk]: Unable to upload file with square brackets in its name
| From: | cmb@php.net | Date: | Thu, 04 Mar 2021 13:45:03 +0000 |
| Subject: | Bug #65763 [Opn->Fbk]: Unable to upload file with square brackets in its name | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-232551@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=65763&edit=1
ID: 65763
Updated by: cmb@php.net
Reported by: sibprogrammer at gmail dot com
Summary: Unable to upload file with square brackets in its
name
-Status: Open
+Status: Feedback
Type: Bug
Package: *Web Server problem
PHP Version: 5.5.4
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
I cannot reproduce this with PHP-7.4. Is it still an issue for
you with any of the actively supported PHP versions[1]?
[1] <https://www.php.net/supported-versions.php>
Previous Comments:
------------------------------------------------------------------------
[2013-09-26 03:36:24] sibprogrammer at gmail dot com
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 this bug report at https://bugs.php.net/bug.php?id=65763&edit=1