From 327e35e01eb1a2760bc5157e44634a308de837e3 Mon Sep 17 00:00:00 2001 From: Dominik Hebeler <dominik@suma-ev.de> Date: Thu, 7 Nov 2019 10:10:00 +0100 Subject: [PATCH] modified regex --- app/Http/Controllers/HumanVerification.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/HumanVerification.php b/app/Http/Controllers/HumanVerification.php index f36412e7e..e35256048 100644 --- a/app/Http/Controllers/HumanVerification.php +++ b/app/Http/Controllers/HumanVerification.php @@ -196,7 +196,7 @@ class HumanVerification extends Controller $eingabe = \Request::input('eingabe'); if (\preg_match("/^susimail\s+-site:[^\s]+\s-site:/si", $eingabe)) { return true; - } else if (\preg_match("/^site:\"linkedin\.com\/in\"\s+/si", $eingabe)) { + } else if (\preg_match("/^\s*site:\"linkedin\.com\/in\"\s+/si", $eingabe)) { return true; } -- GitLab