diff --git a/doc/modsecurity2-apache-reference.xml b/doc/modsecurity2-apache-reference.xml index 37026a1d..2538bf7b 100644 --- a/doc/modsecurity2-apache-reference.xml +++ b/doc/modsecurity2-apache-reference.xml @@ -3404,7 +3404,9 @@ SecRule XML:/xq:employees/employee/name/text() Fred \
<literal>md5</literal> - This function calculates an MD5 hash from input. + This function calculates an MD5 hash from input. Note that + the computed hash is in a raw binary form and should be hex encoded + to be human readable (t:md5,t:hexEncode).
@@ -3493,7 +3495,9 @@ SecRule XML:/xq:employees/employee/name/text() Fred \
<literal>sha1</literal> - This function calculates a SHA1 hash from input. + This function calculates a SHA1 hash from input. Note that + the computed hash is in a raw binary form and should be hex encoded + to be human readable (t:sha1,t:hexEncode).
@@ -4636,7 +4640,7 @@ SecRule &REQUEST_HEADERS:Accept "@eq 0" \ SecDefaultAction log,deny,phase:1,t:removeNulls,t:lowercase SecRule REQUEST_COOKIES:SESSIONID "47414e81cbbef3cf8366e84eeacba091" \ - log,deny,status:403,t:md5 + log,deny,status:403,t:md5,t:hexEncode Note @@ -5209,4 +5213,4 @@ SecRule REQUEST_METHOD "!@within %{tx.allowed_methods}" t:l
- \ No newline at end of file +