mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 11:16:33 +03:00
Update CHANGES.
Sync up docs.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
Manual</title>
|
||||
|
||||
<articleinfo>
|
||||
<releaseinfo>Version 2.6.0-trunk (July 31, 2008)</releaseinfo>
|
||||
<releaseinfo>Version 2.6.0-trunk (August 15, 2008)</releaseinfo>
|
||||
|
||||
<copyright>
|
||||
<year>2004-2008</year>
|
||||
@@ -3853,6 +3853,28 @@ SecRule <emphasis>XML:/xq:employees/employee/name/text()</emphasis> Fred \
|
||||
to forward slashes.</para>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<title><literal>parityEven7bit</literal></title>
|
||||
|
||||
<para>This function calculates even parity of 7-bit data replacing
|
||||
the 8th bit of each target byte with the calculated parity bit.</para>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<title><literal>parityOdd7bit</literal></title>
|
||||
|
||||
<para>This function calculates odd parity of 7-bit data replacing
|
||||
the 8th bit of each target byte with the calculated parity bit.</para>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<title><literal>parityZero7bit</literal></title>
|
||||
|
||||
<para>This function calculates zero parity of 7-bit data replacing
|
||||
the 8th bit of each target byte with a zero parity bit which allows
|
||||
inspection of even/odd parity 7bit data as ASCII7 data.</para>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<title><literal>removeNulls</literal></title>
|
||||
|
||||
@@ -5469,7 +5491,7 @@ SecRule REQUEST_HEADERS:Ip-Address "!<emphasis>@streq %{TX.1}</emphasis>"</progr
|
||||
SecRule REQUEST_HEADERS:Content-Type ^text/xml$ \
|
||||
phase:1,t:lowercase,nolog,pass,ctl:requestBodyProcessor=XML
|
||||
SecRule REQBODY_PROCESSOR "!^XML$" nolog,pass,skipAfter:12345
|
||||
SecRule XML "<emphasis>@validateDTD /path/to/apache2/conf/xml.dtd</emphasis>,id:12345"</programlisting>
|
||||
SecRule XML "<emphasis>@validateDTD /path/to/apache2/conf/xml.dtd</emphasis>" "deny,id:12345"</programlisting>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
@@ -5484,7 +5506,7 @@ SecRule XML "<emphasis>@validateDTD /path/to/apache2/conf/xml.dtd</emphasis>,id:
|
||||
SecRule REQUEST_HEADERS:Content-Type ^text/xml$ \
|
||||
phase:1,t:lowercase,nolog,pass,ctl:requestBodyProcessor=XML
|
||||
SecRule REQBODY_PROCESSOR "!^XML$" nolog,pass,skipAfter:12345
|
||||
SecRule XML "<emphasis>@validateSchema /path/to/apache2/conf/xml.xsd</emphasis>,id:12345"</programlisting>
|
||||
SecRule XML "<emphasis>@validateSchema /path/to/apache2/conf/xml.xsd</emphasis>" "deny,id:12345"</programlisting>
|
||||
|
||||
<para>This operator requires request body to be processed as XML.</para>
|
||||
</section>
|
||||
|
Reference in New Issue
Block a user