Commit fb6b70c4 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Make it more secure

parent 730b8725
......@@ -54,7 +54,9 @@ bool BlockExternalResourcesUrlInterceptor::interceptRequest(QWebEngineUrlRequest
Q_EMIT formSubmittedForbidden();
return true;
} else if (navigationType == QWebEngineUrlRequestInfo::NavigationTypeReload ||
navigationType == QWebEngineUrlRequestInfo::NavigationTypeTyped) {
navigationType == QWebEngineUrlRequestInfo::NavigationTypeTyped ||
navigationType == QWebEngineUrlRequestInfo::NavigationTypeBackForward ||
navigationType == QWebEngineUrlRequestInfo::NavigationTypeOther) {
return true;
}
return false;
......
Supports Markdown
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