Commit d56335bc authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

modified spam regex

parent f124eab5
......@@ -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("/^\s*site:\"linkedin\.com\/in\"\s+/si", $eingabe)) {
} else if (\preg_match("/^\s*site:\"linkedin\.com[^\"]*\"\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