QUrl: sort idn whitelist

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

Pick-to: 6.8 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>
This commit is contained in:
Mårten Nordheim 2025-02-03 19:36:05 +01:00 committed by Qt Cherry-pick Bot
parent 67500054d2
commit 00ddc174b4

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",