QUrl: sort idn whitelist

We look it up with a binary search, so it needs to be sorted.

Pick-to: 6.5
Change-Id: I0aa25e6ff9722372c0a09f2dce9f9c839fedf00e
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit 382a7d006b52faa08b84e56d97cc6c216925a43e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 00ddc174b49ef4ed0e2384a2377df55d9201ad9f)
This commit is contained in:
Mårten Nordheim 2025-02-03 19:36:05 +01:00 committed by Qt Cherry-pick Bot
parent e66324455a
commit 3186048ffe

View File

@ -286,7 +286,7 @@ static constexpr auto idn_whitelist = qOffsetStringArray(
"fi",
"gr",
"hu",
"il", "info", "io", "is", "ir",
"il", "info", "io", "ir", "is",
"jp",
"kr",
"li", "lt", "lu", "lv",