diff options
author | Ruben Barkow <rubo77@users.noreply.github.com> | 2016-10-23 19:50:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-23 19:50:26 +0200 |
commit | fc5995f82744e87cc0c275481c1fd4d01029f8a7 (patch) | |
tree | b76d6615fd893234e9019401b19aec0b194b0d9b | |
parent | e35575d270c9e6546e8b457886cc3876dc9111d3 (diff) | |
parent | d47179d24a0ff3df7155ba218a7765e2eff61956 (diff) |
Merge pull request #13 from eNBeWe/nbw/mailcharacters
Erlaube mehr Sonderzeichen in Mail-Adresssen
-rw-r--r-- | php-templates/freifunk-nodewatcher.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/php-templates/freifunk-nodewatcher.php b/php-templates/freifunk-nodewatcher.php index dc22c90..4b01b7a 100644 --- a/php-templates/freifunk-nodewatcher.php +++ b/php-templates/freifunk-nodewatcher.php @@ -12,10 +12,10 @@ $community_TLD="FFKI"; $nodewatcher_name="KNOTENALARM"; if (!empty($_REQUEST["confirm-email"]) and trim($_REQUEST["confirm-email"])!=""){ - $confirmmail=$absendermail=preg_replace("/[^a-zA-Z0-9 \-._@]/","",trim($_REQUEST["confirm-email"])); + $confirmmail=$absendermail=preg_replace("/[^a-zA-Z0-9 \-._@!\\#$%&`*+\/=?^{|}~]/","",trim($_REQUEST["confirm-email"])); } if (!empty($_REQUEST["deactivate"]) and trim($_REQUEST["deactivate"])!=""){ - $deactivatemail=$absendermail=preg_replace("/[^a-zA-Z0-9 \-._@]/","",trim($_REQUEST["deactivate"])); + $deactivatemail=$absendermail=preg_replace("/[^a-zA-Z0-9 \-._@!\\#$%&`*+\/=?^{|}~]/","",trim($_REQUEST["deactivate"])); } if(!empty($confirmmail)){ $mess="Du wurdest erfolgreich eingetragen."; |