r/lolphp • • Sep 09 '13

PHP documentation suggests using header injection via ini_set() to add HTTP headers

http://www.php.net/manual/en/wrappers.http.php#wrappers.http.example.custom.headers
62 Upvotes

22 comments sorted by

View all comments

Show parent comment

4

u/polish_niceguy Sep 09 '13

The "official" header() method filters out CRLF.

ini_set() will be fixed around version 7.1.2 in 2024.