mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 13:26:01 +03:00
parent
90197bdd99
commit
a85ca00a55
2
CHANGES
2
CHANGES
@ -1,6 +1,8 @@
|
||||
v3.0.3 - YYYY-MMM-DD (to be released)
|
||||
-------------------------------------
|
||||
|
||||
- Fix utf-8 character encoding conversion
|
||||
[Issue #1794 - @tinselcity, @zimmerle]
|
||||
- Adds support for ctl:requestBodyProcessor=URLENCODED
|
||||
[Issue #1797 - @victorhora]
|
||||
- Add LUA compatibility for CentOS and try to use LuaJIT first if available
|
||||
|
@ -86,7 +86,7 @@ int ValidateUtf8Encoding::detect_utf8_character(
|
||||
unicode_len = 4;
|
||||
/* compute character number */
|
||||
d = ((c & 0x07) << 18) | ((*(p_read + 1) & 0x3F) << 12)
|
||||
| ((*(p_read + 2) & 0x3F) < 6) | (*(p_read + 3) & 0x3F);
|
||||
| ((*(p_read + 2) & 0x3F) << 6) | (*(p_read + 3) & 0x3F);
|
||||
}
|
||||
} else {
|
||||
/* any other first byte is invalid (RFC 3629) */
|
||||
|
Loading…
x
Reference in New Issue
Block a user