newlines
[PHP-DEV] Disallow newlines in CURLOPT_HTTPHEADER - php.
[PHP-DEV] Disallow newlines in CURLOPT_HTTPHEADER - php.internals - PHP Foundation Discourse PHP Foundation Discourse [PHP-DEV] Disallow newlines in CURLOPT_HTTPHEADER Mailing Lists php.internals Sjoerd_Langkemper July 9, 2026, 8:17am 1 Hello, Currently, it is possible to have multiple lines in a HTTP headers in a cURL request, which then get interpreted as multiple headers: $ch =…





