mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
tests: Adds random data to a post making it workable in nginx
For some reason nginx fails in a post with no body. This patch adds some random data here. Other platforms should not be affected.
This commit is contained in:
parent
450d621ca9
commit
fb4e1f1b6b
@ -285,6 +285,10 @@
|
||||
},
|
||||
request => new HTTP::Request(
|
||||
POST => "http://$ENV{SERVER_NAME}:$ENV{SERVER_PORT}/test.txt?arg1=val1&arg2=val2",
|
||||
[
|
||||
"Content-Type" => "application/x-www-form-urlencoded",
|
||||
],
|
||||
"a=b",
|
||||
),
|
||||
},
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user