https://bugs.kde.org/show_bug.cgi?id=429408
--- Comment #22 from Tom Crider <gloriouseggr...@gmail.com> --- not sure why i went around my butt to get to my elbow for those :facepalm:, could have been much simpler. assuming the issue only occurs when :// is passed and generally :// shouldn't be passed from applications -- I just ended up doing this: qt5-qtbase: ----------- diff --git a/src/corelib/io/qurlidna.cpp b/src/corelib/io/qurlidna.cpp index a2f0caa6..ad18d5b6 100644 --- a/src/corelib/io/qurlidna.cpp +++ b/src/corelib/io/qurlidna.cpp @@ -2490,6 +2490,10 @@ QString qt_ACE_do(const QString &domain, AceOperation op, AceLeadingDot dot) if (domain.isEmpty()) return domain; + if (domain.toStdString().find("://") >= 0){ + return domain; + } + QString result; result.reserve(domain.length()); ----------- qt6-qtbase: ----------- diff --git a/src/corelib/io/qurlidna.cpp b/src/corelib/io/qurlidna.cpp index bb14e1cd..204085c2 100644 --- a/src/corelib/io/qurlidna.cpp +++ b/src/corelib/io/qurlidna.cpp @@ -892,6 +892,10 @@ QString qt_ACE_do(const QString &domain, AceOperation op, AceLeadingDot dot, if (domain.isEmpty()) return {}; + if (domain.toStdString().find("://") >= 0){ + return domain; + } + bool mappedToAscii; const QString mapped = mapDomainName(domain, options, &mappedToAscii); const QString normalized = ----------- -- You are receiving this mail because: You are watching all bug changes.