mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2026-01-16 08:27:10 +03:00
Updated Reference Manual (mediawiki)
@@ -2711,6 +2711,8 @@ Special rules control the usage of actions in chained rules:
|
|||||||
<pre>
|
<pre>
|
||||||
# Parse requests with Content-Type "text/xml" as XML
|
# Parse requests with Content-Type "text/xml" as XML
|
||||||
SecRule REQUEST_CONTENT_TYPE ^text/xml "nolog,pass,id:106,ctl:requestBodyProcessor=XML"
|
SecRule REQUEST_CONTENT_TYPE ^text/xml "nolog,pass,id:106,ctl:requestBodyProcessor=XML"
|
||||||
|
|
||||||
|
# white-list the user parameter for rule #981260 when the REQUEST_URI is /index.php
|
||||||
SecRule REQUEST_URI "@beginsWith /index.php" "phase:1,t:none,pass, \
|
SecRule REQUEST_URI "@beginsWith /index.php" "phase:1,t:none,pass, \
|
||||||
nolog,ctl:ruleRemoveTargetById=981260;ARGS:user
|
nolog,ctl:ruleRemoveTargetById=981260;ARGS:user
|
||||||
</pre>
|
</pre>
|
||||||
|
|||||||
Reference in New Issue
Block a user