comparison vendor/zendframework/zend-diactoros/src/HeaderSecurity.php @ 16:c2387f117808

Routine composer update
author Chris Cannam
date Tue, 10 Jul 2018 15:07:59 +0100
parents 7a779792577d
children
comparison
equal deleted inserted replaced
15:e200cb7efeb3 16:c2387f117808
6 */ 6 */
7 7
8 namespace Zend\Diactoros; 8 namespace Zend\Diactoros;
9 9
10 use InvalidArgumentException; 10 use InvalidArgumentException;
11
12 use function get_class;
13 use function gettype;
14 use function in_array;
15 use function is_numeric;
16 use function is_object;
17 use function is_string;
18 use function ord;
19 use function preg_match;
20 use function sprintf;
21 use function strlen;
11 22
12 /** 23 /**
13 * Provide security tools around HTTP headers to prevent common injection vectors. 24 * Provide security tools around HTTP headers to prevent common injection vectors.
14 * 25 *
15 * Code is largely lifted from the Zend\Http\Header\HeaderValue implementation in 26 * Code is largely lifted from the Zend\Http\Header\HeaderValue implementation in