mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-21 03:26:42 +03:00
Fix minor typo
@@ -1216,7 +1216,7 @@ function main()
|
|||||||
-- Retrieve script parameters.
|
-- Retrieve script parameters.
|
||||||
local d = m.getvars("ARGS", { "lowercase", "htmlEntityDecode" } );
|
local d = m.getvars("ARGS", { "lowercase", "htmlEntityDecode" } );
|
||||||
|
|
||||||
-- Loop through the paramters.
|
-- Loop through the parameters.
|
||||||
for i = 1, #d do
|
for i = 1, #d do
|
||||||
-- Examine parameter value.
|
-- Examine parameter value.
|
||||||
if (string.find(d[i].value, "<script")) then
|
if (string.find(d[i].value, "<script")) then
|
||||||
|
|||||||
@@ -1447,7 +1447,7 @@ function main()
|
|||||||
-- Retrieve script parameters.
|
-- Retrieve script parameters.
|
||||||
local d = m.getvars("ARGS", { "lowercase", "htmlEntityDecode" } );
|
local d = m.getvars("ARGS", { "lowercase", "htmlEntityDecode" } );
|
||||||
|
|
||||||
-- Loop through the paramters.
|
-- Loop through the parameters.
|
||||||
for i = 1, #d do
|
for i = 1, #d do
|
||||||
-- Examine parameter value.
|
-- Examine parameter value.
|
||||||
if (string.find(d[i].value, "<script")) then
|
if (string.find(d[i].value, "<script")) then
|
||||||
|
|||||||
@@ -760,7 +760,7 @@ function main()
|
|||||||
-- Retrieve script parameters.
|
-- Retrieve script parameters.
|
||||||
local d = m.getvars("ARGS", { "lowercase", "htmlEntityDecode" } );
|
local d = m.getvars("ARGS", { "lowercase", "htmlEntityDecode" } );
|
||||||
|
|
||||||
-- Loop through the paramters.
|
-- Loop through the parameters.
|
||||||
for i = 1, #d do
|
for i = 1, #d do
|
||||||
-- Examine parameter value.
|
-- Examine parameter value.
|
||||||
if (string.find(d[i].value, "<script")) then
|
if (string.find(d[i].value, "<script")) then
|
||||||
|
|||||||
Reference in New Issue
Block a user