summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qurlidna.cpp
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2020-06-30 12:20:55 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2020-07-02 15:35:18 +0200
commit1708bc731c6a50a4ec9f9f5ccf89cb90c7f16dec (patch)
treed9dd417c7e140c5ac33a52e816d454cbd210fc3c /src/corelib/io/qurlidna.cpp
parent057329c24c00047c8c3e1502a9a8dfa9a4169481 (diff)
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>
Diffstat (limited to 'src/corelib/io/qurlidna.cpp')
-rw-r--r--src/corelib/io/qurlidna.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/corelib/io/qurlidna.cpp b/src/corelib/io/qurlidna.cpp
index fb74fc7a64..b5774a0dc8 100644
--- a/src/corelib/io/qurlidna.cpp
+++ b/src/corelib/io/qurlidna.cpp
@@ -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