avoid HTTP Response Splitting attacks via redirects #1513
The header() method of PHP is vulnerable to HTTP Response Splitting attacks. This change makes sure the URL passed to send_redirect (and thus to header()) does not contain any control characters that would be needed to execute such an attack. Cleaning input is recommended anyway.
Loading
Please register or sign in to comment