芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/libraries.7/vendor/laminas/laminas-diactoros/src/HeaderSecurity.php
254 ) { continue; } $string .= $value[$i]; } return $string; } /** * 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 * @see http://en.wikipedia.org/wiki/HTTP_response_splitting */ public static function isValid($value) : bool { $value = (string) $value; // Look for: // \n not preceded by \r, OR // \r not followed by \n, OR // \r\n not followed by space or horizontal tab; these are all CRLF attacks if (preg_match("#(?:(?:(?