From c2aa474e56a240f59f7f75d145a74a6fd2c9bd54 Mon Sep 17 00:00:00 2001 From: Stuart Cardall Date: Wed, 4 Apr 2018 18:57:27 +0000 Subject: [PATCH] do not sanitize + in email addresses - further fix * finishes fixing https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/issues/157 --- update-ngxblocker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-ngxblocker b/update-ngxblocker index 04fde99d6..28c9bd803 100755 --- a/update-ngxblocker +++ b/update-ngxblocker @@ -188,7 +188,7 @@ check_args() { exit 1 fi ;; - email) if ! echo $arg | grep -E ^[-_\.[:alnum:]]+@[-_\.[:alnum:]]+ 1>/dev/null; then + email) if ! echo $arg | grep -E ^[+-_\.[:alnum:]]+@[-_\.[:alnum:]]+ 1>/dev/null; then printf "$msg email@domain.com\n" exit 1 fi