Solves #47 Usernames with at sign are not accepted

ezmlm-web.cgi
 - applied patch
This commit is contained in:
jlmartinez 2008-07-09 11:33:33 +00:00
parent 477796cf9b
commit 4bcce50d6c

View file

@ -2246,7 +2246,7 @@ sub update_webusers {
my $listname = $q->param('list');
my $webusers_filtered = $q->param('webusers');
# remove any insecure characters (e.g. a line break :))
$webusers_filtered =~ s/[^\w,_\.\-]/ /gs;
$webusers_filtered =~ s/[^\w,_\.\-\@]/ /gs;
open(TMP, "<$temp_file");
unless (open(WU, ">$WEBUSERS_FILE")) {
warn "the webusers file ($WEBUSERS_FILE) is not writable";