Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Static Public Member Functions | |
static | filter ($value) |
static | isValid ($value) |
static | assertValid ($value) |
Definition at line 31 of file HeaderValue.php.
|
static |
Assert a header value is valid.
string | $value |
Exception |
Definition at line 120 of file HeaderValue.php.
|
static |
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; only one whitespace character is allowed between visible characters.
string | $value |
Definition at line 53 of file HeaderValue.php.
|
static |
Validate a header value.
Per RFC 7230, only VISIBLE ASCII characters, spaces, and horizontal tabs are allowed in values; only one whitespace character is allowed between visible characters.
string | $value |
Definition at line 90 of file HeaderValue.php.