mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-8.0'
* PHP-8.0: Fix build warning
This commit is contained in:
commit
b74f5ee477
1 changed files with 1 additions and 1 deletions
|
@ -3032,7 +3032,7 @@ static zend_bool header_injection(zend_string *str, zend_bool adrlist)
|
|||
/* adrlists do not support folding, but swallow trailing line breaks */
|
||||
&& !((adrlist && p[1] == '\0')
|
||||
/* other headers support folding */
|
||||
|| !adrlist && (p[1] == ' ' || p[1] == '\t'))) {
|
||||
|| (!adrlist && (p[1] == ' ' || p[1] == '\t')))) {
|
||||
return 1;
|
||||
}
|
||||
p++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue