HttpRedirectionValidator getRedirectionValidator ( ) { if ( redirectionValidator == null ) { redirectionValidator = redirection -> { if ( ! nodeInScope ( redirection . getEscapedURI ( ) ) ) { if ( log . isDebugEnabled ( ) ) { log . debug ( "Skipping redirection out of scan's scope: " + redirection ) ; } return false ; } return true ; } ; } return redirectionValidator ; }
Gets the redirection validator that ensures the followed redirections are in scan s scope .