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: -
From: fernandopsilveira at yahoo dot com dot br Assigned:
Status: Open Package: Filter related
PHP Version: Irrelevant OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Mon Jun 17 18:01:27 2019 UTC