Use https:// scheme by default.
This commit is contained in:
parent
eeb2cbc69c
commit
18ac9868bb
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ QString UrlClickHandler::EncodeForOpening(const QString &originalUrl) {
|
||||||
&& !QRegularExpression(
|
&& !QRegularExpression(
|
||||||
QStringLiteral("^[a-zA-Z]+:")).match(result).hasMatch()) {
|
QStringLiteral("^[a-zA-Z]+:")).match(result).hasMatch()) {
|
||||||
// No protocol.
|
// No protocol.
|
||||||
return QStringLiteral("http://") + result;
|
return QStringLiteral("https://") + result;
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue