From 27b315018c47d171f7bab8b97fc504bc7c0ab813 Mon Sep 17 00:00:00 2001 From: cbclemmer Date: Sun, 20 Aug 2023 14:40:58 -0500 Subject: [PATCH] Explicit QString instantiation --- src/common/LinkParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/LinkParser.cpp b/src/common/LinkParser.cpp index 1cf906b41..f55bf0234 100644 --- a/src/common/LinkParser.cpp +++ b/src/common/LinkParser.cpp @@ -116,7 +116,7 @@ bool startsWithPort(QStringView string) // Simple sanitization method to strip characters that are not recognized by RFC 3986 QString sanitizeUrl(const QString &unparsedString) { - const QString allowedSpecialCharacters = "!#&+/:=?@-_."; + const QString allowedSpecialCharacters = QString("!#&+/:=?@-_."); QString sanitizedUrl; for (const QChar &c : unparsedString)