Commit d10576cc authored by Martin Tobias Holmedahl Sandsmark's avatar Martin Tobias Holmedahl Sandsmark Committed by Kurt Hindenburg
Browse files

fix the scheme checking in the least intrusive way possible (avoids migrating the config)

parent bf5f5aaa
......@@ -62,7 +62,7 @@ void EscapeSequenceUrlExtractor::appendUrlText(QChar c)
void EscapeSequenceUrlExtractor::setUrl(const QString& url)
if (_allowedUriSchemas.contains(QUrl(url).scheme())) {
if (_allowedUriSchemas.contains(QUrl(url).scheme() + QLatin1String("://"))) {
_currentUrl.url = url;
} else {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment