mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-17 22:56:18 +03:00
Updated Reference Manual (mediawiki)
parent
61d40a8ff0
commit
4af123ee2d
@ -4191,7 +4191,7 @@ A Social Security number is broken up into 3 sections:
|
||||
SecRule REQUEST_METHOD "!@within GET,POST,HEAD"
|
||||
</pre>
|
||||
|
||||
*NOTE:* There are no delimiters for this operator, it is therefore often necessary to artificially impose some; this can be done using setvar. For instance in the example below, without the imposed delimiters (of '/') this rule would also match on the 'range' header (along with many other combinations), since 'range' is within the provided parameter. With the imposed delimiters, the rule would check for '/range/' when the range header is provided, and therefore would not match since '/range/ is not part of the @within parameter.
|
||||
;NOTE: There are no delimiters for this operator, it is therefore often necessary to artificially impose some; this can be done using setvar. For instance in the example below, without the imposed delimiters (of '/') this rule would also match on the 'range' header (along with many other combinations), since 'range' is within the provided parameter. With the imposed delimiters, the rule would check for '/range/' when the range header is provided, and therefore would not match since '/range/ is not part of the @within parameter.
|
||||
```
|
||||
SecRule REQUEST_HEADERS_NAMES "@rx ^.*$" \
|
||||
"chain,\
|
||||
|
Loading…
x
Reference in New Issue
Block a user