diff --git a/src/timeline/TimelineModel.cpp b/src/timeline/TimelineModel.cpp index 96fc5aca..a49dde3c 100644 --- a/src/timeline/TimelineModel.cpp +++ b/src/timeline/TimelineModel.cpp @@ -3282,7 +3282,9 @@ TimelineModel::widgetLinks() const // compat with some widgets, i.e. FOSDEM url.replace("$theme", theme); - url = QUrl::toPercentEncoding(url, "/:@?#&=%"); + // See https://bugreports.qt.io/browse/QTBUG-110446 + // We want to make sure that urls are encoded, even if the source is untrustworthy. + url = QUrl(url).toEncoded(); list.push_back( QLatin1String("%2")