mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
Added t:jsDecodeUni handling unicode similar to t:urlDecodeUni. See #193.
This commit is contained in:
@@ -3368,6 +3368,16 @@ SecRule <emphasis>XML:/xq:employees/employee/name/text()</emphasis> Fred \
|
||||
</itemizedlist>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<title><literal>jsDecodeUni</literal></title>
|
||||
|
||||
<para>Decodes <literal moreinfo="none">\uXXXX</literal> JavaScript
|
||||
encoding. If the code is in the range of FF01-FF5E (the full width ASCII
|
||||
codes), then the higher byte is used to detect and adjust the lower
|
||||
byte. Otherwise, only the lower byte will be used and the higher byte
|
||||
zeroed.</para>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<title><literal>length</literal></title>
|
||||
|
||||
@@ -5156,4 +5166,4 @@ SecRule REQUEST_METHOD "!<emphasis>@within %{tx.allowed_methods}</emphasis>" t:l
|
||||
</section>
|
||||
</section>
|
||||
</section>
|
||||
</article>
|
||||
</article>
|
Reference in New Issue
Block a user