diff --git a/tests/runtests.pl b/tests/runtests.pl index 283e5f6072..b40b21d728 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -3728,7 +3728,8 @@ sub prepro { # The processor does CRLF replacements in the sections if # necessary since those parts might be read by separate servers. if($s =~ /^ */) { - if($1 =~ /crlf="yes"/ || $has_hyper) { + if($1 =~ /crlf="yes"/ || + ($has_hyper && ($keywords{"HTTP"} || $keywords{"HTTPS"}))) { $data_crlf = 1; } }