- From: Anne van Kesteren <notifications@github.com>
- Date: Thu, 11 May 2017 04:26:30 -0700
- To: whatwg/encoding <encoding@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 11 May 2017 11:27:04 UTC
Instead of always unwinding if there’s no code point when consuming the fourth byte, only unwind when the fourth byte is not an ASCII digit. This does mean that ASCII digits can be masked, but since ASCII digits are not used as delimiter in any format this is highly unlikely to be used in any attacks (and also matches existing implementations better). Fixes #110. You can view, comment on, or merge this pull request online at: https://github.com/whatwg/encoding/pull/111 -- Commit Summary -- * gb18030 encoder: unwind from fourth byte when it's not a digit -- File Changes -- M encoding.bs (10) -- Patch Links -- https://github.com/whatwg/encoding/pull/111.patch https://github.com/whatwg/encoding/pull/111.diff -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/encoding/pull/111
Received on Thursday, 11 May 2017 11:27:04 UTC