Files
php-src/ext/soap
David Carlier f6fe838e36 ext/soap: truncate header values containing newline characters.
Commit 3dcdb9826b routed the user_agent option through a truncate-and-warn
check, but the Content-Type context option, the soapaction and the cookie
names and values reach the same request buffer unchecked, so a CR/LF in any
of them still injects arbitrary request headers.

Emit all of them through that same check. The helper now takes an explicit
length so the char* soapaction can share it.

Close GH-22781
2026-07-21 03:07:08 +01:00
..
…