mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
benchmark: Removes the \n\r on the user agent
This commit is contained in:
parent
8ceaf99d5d
commit
361ec8340f
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user