From 3dfb6aeabb557f00999a6d4e673844c5bc0ecd9e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 1 Dec 2022 17:25:25 +0100 Subject: [PATCH] runtests: only do CRLF replacements for hyper if it is HTTP Closes #10016 --- tests/runtests.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } } -- 2.47.3