aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRuben Barkow <ruben@srv.freifunk.in-kiel.de>2016-10-23 20:02:06 +0200
committerRuben Barkow <ruben@srv.freifunk.in-kiel.de>2016-10-23 20:02:06 +0200
commit4cab5b0f787c5970fcf9cc315098fb4522bf3f8e (patch)
tree59a760795c480e6a9ade0ee8d0aa70431e81b988
parent47a519530097b56b8895f038f1ca8b2dd038b297 (diff)
parentfc5995f82744e87cc0c275481c1fd4d01029f8a7 (diff)
Merge branch 'master' of https://github.com/freifunk-kiel/startseite
-rw-r--r--php-templates/freifunk-nodewatcher.php4
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.";