evgenysmrnv/security

There is no license information available for the latest version (1.0.2) of this package.

Security patches

1.0.2 2024-06-18 17:31 UTC

This package is auto-updated.

Last update: 2025-07-18 19:37:51 UTC


README

Validate filename before use in header.

Example

$filename = 'filename example.txt';
$filename = Evgenysmrnv\Security\SecurityPatch::checkHttpHeader($filename); 
$httpHeaderExample = 'Content-Disposition: attachment; filename=" . $filename . "';