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

wilder
Martin T. H. Sandsmark 6 years ago committed by Kurt Hindenburg
parent bf5f5aaa57
commit d10576ccf3
  1. 2
      src/EscapeSequenceUrlExtractor.cpp

@ -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 {
abortUrlInput();

Loading…
Cancel
Save