[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
(no description)
Copyright: | https://github.com/laminas/laminas-diactoros/blob/master/COPYRIGHT.md |
License: | https://github.com/laminas/laminas-diactoros/blob/master/LICENSE.md New BSD License |
File Size: | 175 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
__construct() X-Ref |
Private constructor; non-instantiable. |
filter(string $value) X-Ref |
Filter a header value Ensures CRLF header injection vectors are filtered. Per RFC 7230, only VISIBLE ASCII characters, spaces, and horizontal tabs are allowed in values; header continuations MUST consist of a single CRLF sequence followed by a space or horizontal tab. This method filters any values not allowed from the string, and is lossy. |
isValid($value) X-Ref |
Validate a header value. Per RFC 7230, only VISIBLE ASCII characters, spaces, and horizontal tabs are allowed in values; header continuations MUST consist of a single CRLF sequence followed by a space or horizontal tab. param: string|int|float $value |
assertValid($value) X-Ref |
Assert a header value is valid. param: mixed $value Value to be tested. This method asserts it is a string or number. |
assertValidName($name) X-Ref |
Assert whether or not a header name is valid. param: mixed $name |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |