mirror of
https://github.com/curl/curl.git
synced 2026-05-14 11:36:21 +03:00
runtests: only do CRLF replacements for hyper if it is HTTP
Closes #10016
This commit is contained in:
parent
5c27f6c452
commit
3dfb6aeabb
1 changed files with 2 additions and 1 deletions
|
|
@ -3728,7 +3728,8 @@ sub prepro {
|
|||
# The processor does CRLF replacements in the <data*> sections if
|
||||
# necessary since those parts might be read by separate servers.
|
||||
if($s =~ /^ *<data(.*)\>/) {
|
||||
if($1 =~ /crlf="yes"/ || $has_hyper) {
|
||||
if($1 =~ /crlf="yes"/ ||
|
||||
($has_hyper && ($keywords{"HTTP"} || $keywords{"HTTPS"}))) {
|
||||
$data_crlf = 1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue