details:   https://hg.nginx.org/njs/rev/d88b65c37ecc
branches:  
changeset: 1475:d88b65c37ecc
user:      Alexander Borisov <[email protected]>
date:      Wed Jul 22 15:21:13 2020 +0300
description:
Fixed clearing UTF-8 context for two-byte codepoints.

diffstat:

 src/njs_utf8.h |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r b96ff1d52647 -r d88b65c37ecc src/njs_utf8.h
--- a/src/njs_utf8.h    Wed Jul 22 15:21:13 2020 +0300
+++ b/src/njs_utf8.h    Wed Jul 22 15:21:13 2020 +0300
@@ -103,6 +103,7 @@ njs_inline void
 njs_utf8_decode_init(njs_unicode_decode_t *ctx)
 {
     ctx->need = 0x00;
+    ctx->lower = 0x00;
 }
 
 
_______________________________________________
nginx-devel mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to