src/main/php/request/WebRequest.php
public function validateRedirectHeader(string $headerName): ValueValidator
    {
        if ($this->headers->contain('REDIRECT_' . $headerName)) {
            return $this->validateHeader('REDIRECT_' . $headerName);
        }

        return $this->validateHeader($headerName);
    }
public function validateRedirectHeader(string $headerName): ValueValidator
    {
        if ($this->headers->contain('REDIRECT_' . $headerName)) {
            return $this->validateHeader('REDIRECT_' . $headerName);
        }

        return $this->validateHeader($headerName);
    }
public function validateRedirectHeader ( string $ headerName ) : ValueValidator { if ( $ this -> headers -> contain ( 'REDIRECT_' . $ headerName ) ) { return $ this -> validateHeader ( 'REDIRECT_' . $ headerName ) ; } return $ this -> validateHeader ( $ headerName ) ; }
checks whether a request value from redirect headers is valid or not

A redirect header is one that starts with REDIRECT_ and has most likely
a different value after a redirection happened than the original header.
The method will try to use the header REDIRECT_$headerName first, but
falls back to $headerName when REDIRECT_$headerName  is not present.

@param   string  $headerName  name of header
@return  \stubbles\input\ValueValidator
@since   3.1.0
checks whether a request value from redirect headers is valid or not