php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #76372 Add INPUT_FILES type to filter_input
Submitted: 2018-05-24 13:53 UTC Modified: 2020-02-09 04:22 UTC
From: fernandopsilveira at yahoo dot com dot br Assigned: cmb (profile)
Status: No Feedback Package: Filter related
PHP Version: Irrelevant OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: fernandopsilveira at yahoo dot com dot br
New email:
PHP Version: OS:

 

 [2018-05-24 13:53 UTC] fernandopsilveira at yahoo dot com dot br
Description:
------------
Many IDEs recommend to not access superglobals directly because you must validate and/or sanitize their contents before using them; filter_input is the best way to do it - also avoiding call the superglobal - but there are still some input types missing.

INPUT_FILES type is certainly one of them, really needed for file upload validations.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-01-27 11:50 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2020-01-27 11:50 UTC] cmb@php.net
What exactly should be validated?  I mean, which filters with
which options/flags should be implemented?
 [2020-02-09 04:22 UTC] php-bugs at lists dot php dot net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 10:01:26 2024 UTC