Opened 13 years ago

Closed 13 years ago

#25 closed defect (fixed)

fix ngx_utf8_decode(): it did not fully decode utf-8 symbol

Reported by: Kuts Alexey (Куц Алексей) Owned by: somebody
Priority: minor Milestone:
Component: nginx-core Version: 1.1.x
Keywords: Cc:
uname -a:
nginx -V:

Description

RFC-3629

Attachments (2)

ngx_string.c (557 bytes ) - added by Kuts Alexey (Куц Алексей) 13 years ago.
ngx_string.2.c (557 bytes ) - added by Kuts Alexey (Куц Алексей) 13 years ago.

Download all attachments as: .zip

Change History (10)

by Kuts Alexey (Куц Алексей), 13 years ago

Attachment: ngx_string.c added

comment:1 by Maxim Dounin, 13 years ago

Status: newaccepted

Thanks, nice catch. Could you please provide your name for changelog?

comment:2 by Kuts Alexey (Куц Алексей), 13 years ago

Alexey Kuts (krunt@…)

by Kuts Alexey (Куц Алексей), 13 years ago

Attachment: ngx_string.2.c added

comment:3 by Kuts Alexey (Куц Алексей), 13 years ago

I've attached a little faster one version,
cause from RFC-3629:
1) The octet values C0, C1, F5 to FF never appear
2) UTF8-2 = %xC2-DF UTF8-tail

comment:4 by Maxim Dounin, 13 years ago

In [4210/nginx]:

Fixed utf8 decode (ticket #25).

Patch by Alexey Kuts.

comment:5 by Maxim Dounin, 13 years ago

Committed, thanks. Could you please also provide Russian transcription of your name?

comment:6 by Kuts Alexey (Куц Алексей), 13 years ago

Куц Алексей

comment:7 by is, 13 years ago

In [4259/nginx]:

Merging r4210:

Fixed utf8 decode (ticket #25).

Patch by Alexey Kuts.

comment:8 by Maxim Dounin, 13 years ago

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.