Skip to content
Snippets Groups Projects
Commit d9d157a6 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Merge branch 'development' into 1211-csp-verification

parents d5a44248 f68933c2
No related branches found
No related tags found
1 merge request!1994Resolve "CSP Verification"
......@@ -68,10 +68,16 @@ class BrowserVerification
\app()->make(QueryTimer::class)->observeEnd(self::class);
abort(404);
}
if ($this->waitForBV($key, 6500)) {
$bv_result = $this->waitForBV($key, 6500);
if ($bv_result) {
\app()->make(SearchSettings::class)->header_printed = false;
\app()->make(QueryTimer::class)->observeEnd(self::class);
return $next($request);
} elseif ($bv_result === null) {
$params = request()->except("mgv");
$url = route("resultpage", $params);
self::logBrowserverification($request);
return redirect($url);
} else {
self::logBrowserverification($request);
return redirect(url("/"));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment