Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.2.0 Beta2
-
None
-
9bd2ab85ac88e88f29a11a7dedc8635261ca3484 (qt/qtbase/dev) 0da1e0171218af8430e9e96e7f919f3b3c459869 (qt/qtbase/6.2)
-
Qt6_Foundation_Sprint 39
Description
While working on IDNA 2008 implementation I discovered that the current punycode implementation does not correctly encode or decode non-BMP Unicode codepoints. For example U+102F7 COPTIC EPACT NUMBER FIVE HUNDRED is encoded to xn--ib9bk1k instead of correct xn--r97c, that is in turn decoded as incorrect U+02F7 MODIFIER LETTER LOW TILDE. This breaks IDNA (including version 2003) handling for domains with non-BMP characters.
Attachments
Issue Links
- relates to
-
QTBUG-85371 Update QUrl to use UTS #46
- Closed
For Gerrit Dashboard: QTBUG-95577 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
363212,2 | tst_qurlinternal: Add a test for Punycode handling of non-BMP codepoints | dev | qt/qtbase | Status: MERGED | +2 | 0 |
363213,10 | QUrl: Fix Punycode handling for non-BMP codepoints | dev | qt/qtbase | Status: MERGED | +2 | 0 |
363588,2 | tst_qurlinternal: Add a test for Punycode handling of non-BMP codepoints | 6.2 | qt/qtbase | Status: MERGED | +2 | 0 |
364036,2 | QUrl: Fix Punycode handling for non-BMP codepoints | 6.2 | qt/qtbase | Status: MERGED | +2 | 0 |