mirror of
https://github.com/KDE/konsole.git
synced 2026-06-10 06:55:13 -04:00
fix the scheme checking in the least intrusive way possible (avoids migrating the config)
This commit is contained in:
committed by
Kurt Hindenburg
parent
bf5f5aaa57
commit
d10576ccf3
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user