assertValid(string $value) : void
filter(string $value) : string
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.
see | \Zend\Http\Header\http://en.wikipedia.org/wiki/HTTP_response_splitting |
---|
string
string
isValid(string $value) : bool
Per RFC 7230, only VISIBLE ASCII characters, spaces, and horizontal tabs are allowed in values; only one whitespace character is allowed between visible characters.
see | \Zend\Http\Header\http://en.wikipedia.org/wiki/HTTP_response_splitting |
---|
string
bool
__construct()