No confirmation for graph.org / te.legra.ph domains.
This commit is contained in:
parent
17de379145
commit
8ef7325e16
|
@ -61,7 +61,13 @@ bool UrlRequiresConfirmation(const QUrl &url) {
|
||||||
using namespace qthelp;
|
using namespace qthelp;
|
||||||
|
|
||||||
return !regex_match(
|
return !regex_match(
|
||||||
"(^|\\.)(telegram\\.(org|me|dog)|t\\.me|telegra\\.ph|telesco\\.pe)$",
|
"(^|\\.)("
|
||||||
|
"telegram\\.(org|me|dog)"
|
||||||
|
"|t\\.me"
|
||||||
|
"|te\\.?legra\\.ph"
|
||||||
|
"|graph\\.org"
|
||||||
|
"|telesco\\.pe"
|
||||||
|
")$",
|
||||||
url.host(),
|
url.host(),
|
||||||
RegExOption::CaseInsensitive);
|
RegExOption::CaseInsensitive);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue