mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
A pattern of "" (empty string) should always match.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
name => "contains",
|
||||
param => "",
|
||||
input => "",
|
||||
ret => 0,
|
||||
ret => 1,
|
||||
},
|
||||
{
|
||||
type => "op",
|
||||
@@ -18,7 +18,7 @@
|
||||
name => "contains",
|
||||
param => "",
|
||||
input => "TestCase",
|
||||
ret => 0,
|
||||
ret => 1,
|
||||
},
|
||||
|
||||
### General
|
||||
|
@@ -4,7 +4,7 @@
|
||||
name => "containsWord",
|
||||
param => "",
|
||||
input => "",
|
||||
ret => 0,
|
||||
ret => 1,
|
||||
},
|
||||
{
|
||||
type => "op",
|
||||
@@ -18,7 +18,7 @@
|
||||
name => "containsWord",
|
||||
param => "",
|
||||
input => "TestCase",
|
||||
ret => 0,
|
||||
ret => 1,
|
||||
},
|
||||
|
||||
### General
|
||||
|
@@ -1 +1,52 @@
|
||||
### Empty
|
||||
{
|
||||
type => "op",
|
||||
name => "m",
|
||||
param => "",
|
||||
input => "",
|
||||
ret => 1,
|
||||
},
|
||||
{
|
||||
type => "op",
|
||||
name => "m",
|
||||
param => "TestCase",
|
||||
input => "",
|
||||
ret => 0,
|
||||
},
|
||||
{
|
||||
type => "op",
|
||||
name => "m",
|
||||
param => "",
|
||||
input => "TestCase",
|
||||
ret => 1,
|
||||
},
|
||||
|
||||
### General
|
||||
{
|
||||
type => "op",
|
||||
name => "m",
|
||||
param => "abc",
|
||||
input => "abcdefghi",
|
||||
ret => 1,
|
||||
},
|
||||
{
|
||||
type => "op",
|
||||
name => "m",
|
||||
param => "def",
|
||||
input => "abcdefghi",
|
||||
ret => 1,
|
||||
},
|
||||
{
|
||||
type => "op",
|
||||
name => "m",
|
||||
param => "ghi",
|
||||
input => "abcdefghi",
|
||||
ret => 1,
|
||||
},
|
||||
{
|
||||
type => "op",
|
||||
name => "m",
|
||||
param => "ghij",
|
||||
input => "abcdefghi",
|
||||
ret => 0,
|
||||
},
|
||||
|
@@ -4,14 +4,14 @@
|
||||
name => "within",
|
||||
param => "",
|
||||
input => "",
|
||||
ret => 0,
|
||||
ret => 1,
|
||||
},
|
||||
{
|
||||
type => "op",
|
||||
name => "within",
|
||||
param => "TestCase",
|
||||
input => "",
|
||||
ret => 0,
|
||||
ret => 1,
|
||||
},
|
||||
{
|
||||
type => "op",
|
||||
|
Reference in New Issue
Block a user