Commit 327e35e0 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

modified regex

parent 900d77fa
......@@ -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;
Markdown is supported
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