Adds FULL_REQUEST variable

Felipe Zimmerle
2014-02-27 12:37:49 -08:00
parent d5211f0a0f
commit 0ffa3e2ea1

@@ -1906,6 +1906,21 @@ Contains a list of form fields that were used for file upload. Available only on
<code>SecRule FILES_NAMES "^upfile$" "id:19"</code>
== FULL_REQUEST ==
Contains the complete request: Request line, Request headers and Request body (if any).
The last available only if SecRequestBodyAccess was set to On. Note that all properties of SecRequestBodyAccess will be respected here, such as: SecRequestBodyLimit.
<code>SecRule FULL_REQUEST "User-Agent: ModSecurity Regression Tests" "id:21"</code>
Note: This variable is no part of our stable release yet. It is under test. The code can be find at: https://github.com/SpiderLabs/ModSecurity/tree/var_full_request
== FULL_REQUEST_LENGTH ==
Represents the amount of bytes that FULL_REQUEST may use.
<code>SecRule FULL_REQUEST_LENGTH "@eq 205" "id:21"</code>
Note: This variable is no part of our stable release yet. It is under test. The code can be find at: https://github.com/SpiderLabs/ModSecurity/tree/var_full_request
== FILES_SIZES ==
Contains a list of individual file sizes. Useful for implementing a size limitation on individual uploaded files. Available only on inspected multipart/form-data requests.