Overview
| Artifact ID: | 8108568ba882c351e2026cc5c6615c31cbd2a31a |
|---|---|
| Ticket: | 67aa9a207037ae67f9014b544c3db34fa732f2dc
Security: Invalid UTF-8 can inject unexpected characters |
| User & Date: | jan.nijtmans on 2017-05-31 13:19:58 |
Changes
- closedate changed to: "2457905.05554272"
- closer changed to: "jan.nijtmans"
- icomment:
I think the UTF-8 standard is absolutely clear about what are invalid byte sequences and what not! Tcl already handles many invalid byte sequences, just these ones have always been forgotten. See: [https://en.wikipedia.org/wiki/UTF-8#Invalid_byte_sequences] Currently we only handle 1-3. Actually, I thought that Tcl already handled this long ago. Fossil has a function invalid_utf8() which does the same checks. Please talk to security people, it's embarrassing not to handle this nowadays, really!
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"