An official read-only mirror of http://hg.nginx.org/nginx/ which is updated hourly. Pull requests on GitHub cannot be accepted and will be automatically closed. The proper way to submit changes to nginx is via the nginx development mailing list, see http://nginx.org/en/docs/contributing_changes.html
Go to file
Yugo Horie 2c5fccd469 Core: stricter UTF-8 handling in ngx_utf8_decode().
An UTF-8 octet sequence cannot start with a 11111xxx byte (above 0xf8),
see https://datatracker.ietf.org/doc/html/rfc3629#section-3.  Previously,
such bytes were accepted by ngx_utf8_decode() and misinterpreted as 11110xxx
bytes (as in a 4-byte sequence).  While unlikely, this can potentially cause
issues.

Fix is to explicitly reject such bytes in ngx_utf8_decode().
2023-02-23 08:09:50 +09:00
auto Win32: OpenSSL compilation for x64 targets with MSVC. 2023-02-23 18:16:08 +03:00
conf MIME: added image/avif type. 2021-10-25 20:49:15 +03:00
contrib Contrib: vim syntax, update core and 3rd party module directives. 2022-06-18 15:54:40 +03:00
docs nginx-1.23.3-RELEASE 2022-12-13 18:53:53 +03:00
misc Updated OpenSSL and zlib used for win32 builds. 2022-12-13 03:32:57 +03:00
src Core: stricter UTF-8 handling in ngx_utf8_decode(). 2023-02-23 08:09:50 +09:00
.hgtags release-1.23.3 tag 2022-12-13 18:53:53 +03:00