Skip to content
Snippets Groups Projects
user avatar
Andreas Gohr authored
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.
98ca30d2
History
Name Last commit Last update