From 361ec8340f41f6248053dbf1b328d4b91c55297d Mon Sep 17 00:00:00 2001 From: Felipe Zimmerle Date: Fri, 11 Nov 2016 13:53:56 -0300 Subject: [PATCH] benchmark: Removes the \n\r on the user agent --- test/benchmark/benchmark.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/benchmark/benchmark.cc b/test/benchmark/benchmark.cc index a234433e..02db11e4 100644 --- a/test/benchmark/benchmark.cc +++ b/test/benchmark/benchmark.cc @@ -105,7 +105,7 @@ int main(int argc, char *argv[]) { "net.tutsplus.com"); modsecTransaction->addRequestHeader("User-Agent", "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.5) " \ - "Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)\n\r"); + "Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)"); modsecTransaction->addRequestHeader("Accept", "text/html,application/xhtml+xml,application/xml;" \ "q=0.9,*/*;q=0.8");