]> git.eshelyaron.com Git - emacs.git/commit
Fix idna-mapping-table following Unicode 16 changes
authorRobert Pluim <rpluim@gmail.com>
Tue, 17 Sep 2024 13:19:01 +0000 (15:19 +0200)
committerEshel Yaron <me@eshelyaron.com>
Wed, 18 Sep 2024 10:48:55 +0000 (12:48 +0200)
commit21cc9e93fe8dd4c4cadaad6ad4a52edbac90d15d
tree48b9f2b027ece3bd6f70046970d58c948fe50ca5
parentabd5b75449dfe4c5f20e6c3c937b8251f290169f
Fix idna-mapping-table following Unicode 16 changes

The latest version of UTS #46 in Unicode 16 has changed the way it
indicates which codepoints are invalid in domain names, causing
'idna-mapping-table' to contain incorrect information, which then breaks
'textsec-domain-suspicious-p' and our test suite.  (Bug#73312)

* admin/unidata/unidata-gen.el (unidata-gen-idna-mapping): Check the
IDNA validity field in "IdnaMappingTable.txt" in addition to checking
the status field, as the latter can now be 'valid' for disallowed
codepoints.

(cherry picked from commit 7d365a2d72d8e656262205827cc5fdf423c3a41f)
admin/unidata/unidata-gen.el