Add a note to qurlidna.cpp about IDNA's Unicode version being frozen

It looked a lot like it needed an update to its Unicode data (in
tables and functions) but Thiago tells me this would be misguided,
although we do need an upgrade to IDNA 2008, at some point.
So document why this doesn't get updated along with UCD.

Task-number: QTBUG-85371
Task-number: QTBUG-85323
Change-Id: I764667db9c24bf05371e8a3c2601ccbf48f99711
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
Edward Welbourne 2020-06-30 12:20:55 +02:00
parent 057329c24c
commit 1708bc731c

View File

@ -45,6 +45,15 @@
#include <algorithm>
/* NOTE: IDNA 2003 is based on Unicode 3.2
As a result, the assorted Unicode data below snould *not* be updated as part
of our routine updates to UCS (see ../text/qt_attributions.json and
util/unicode/). See QTBUG-85323 and RFCs 3491, 3454.
TODO (QTBUG-85371): Update to IDNA 2008.
*/
QT_BEGIN_NAMESPACE
// needed by the punycode encoder/decoder