From 3fbf2b93c9a7521a3dedf0f3e9b7769cf99fb5a1 Mon Sep 17 00:00:00 2001 From: brectanus Date: Mon, 21 May 2007 17:25:47 +0000 Subject: [PATCH] Modify docs for t:urlDecodeUni. (See #122) --- doc/modsecurity2-apache-reference.xml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/modsecurity2-apache-reference.xml b/doc/modsecurity2-apache-reference.xml index 02b51d94..4196c7af 100644 --- a/doc/modsecurity2-apache-reference.xml +++ b/doc/modsecurity2-apache-reference.xml @@ -3035,8 +3035,10 @@ SecRule XML:/xq:employees/employee/name/text() In addition to decoding %xx like urlDecode, urlDecodeUni also decodes %uXXXX encoding (only the - lower byte will be used, the higher byte will be discarded). + moreinfo="none"> %uXXXX 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.
@@ -4495,4 +4497,4 @@ SecRule XML "@validateSchema /path/to/apache2/conf/xml.xsd
- + \ No newline at end of file