Bug #65763 [Fbk->NoF]: Unable to upload file with square brackets in its name

From: Date: Sun, 14 Mar 2021 04:22:13 +0000
Subject: Bug #65763 [Fbk->NoF]: Unable to upload file with square brackets in its name
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-232691@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: php-bugs@lists.php.net Reported by: sibprogrammer at gmail dot com Summary: Unable to upload file with square brackets in its name -Status: Feedback +Status: No Feedback Type: Bug Package: *Web Server problem PHP Version: 5.5.4 Assigned To: cmb Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2021-03-04 13:45:02] cmb@php.net 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> ------------------------------------------------------------------------ [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

« previous php.bugs (#232691) next »