add the dot (".") to the possible characters of a listname (Closes: #28)

add "text" to the description of the address file upload field (Closes: #29)
This commit is contained in:
lars 2006-07-05 23:26:52 +00:00
parent 5497fffc44
commit cdd6a8c1f2
5 changed files with 12 additions and 5 deletions

6
TODO
View file

@ -1,3 +1,9 @@
clearsilver-Infos updaten
charset support for idx <= 5.0
suppress success message, if no new subscriber addresses were selected for adding
Maximale Anzahl von Mailinglisten definieren?
- wird wohl von qmailadmin in der .qmailadmin-limits-Datei festgelegt

View file

@ -6,6 +6,7 @@ Version 3.2 - 04/14/02006
* handling of empty settings for ezmlm-idx 5.0 fixed (closes #21)
* script for creating binary suid wrappers added
* bug in MySQL support fixed
* treatment of the special character "dot" in listname fixed
Version 3.1.4 - 03/26/02006
* new setting: DOTQMAIL_DIR (useful for multi domain vpopmail setups)

View file

@ -32,7 +32,7 @@ use English;
$UID = $EUID;
$GID = $EGID;
$VERSION = '3.2';
my $VERSION = '3.2';
my $q = new CGI;
$q->import_names('Q');
@ -1040,7 +1040,7 @@ sub untaint {
# special stuff
# check the list name
if (($q->param('list') =~ /[^\w-]/) && ($q->param('action') !~ /^list_create_(do|ask)$/)) {
if (($q->param('list') =~ /[^\w\.-]/) && ($q->param('action') !~ /^list_create_(do|ask)$/)) {
$warning = 'InvalidListName' if ($warning eq '');
$q->param(-name=>'list', -values=>'');
}
@ -1216,7 +1216,7 @@ sub create_list {
# Some taint checking ...
$qmail = $1 if $q->param('inlocal') =~ /(?:$USER-)?([^\<\>\\\/\s]+)$/;
$listname = $q->param('list');
if ($listname =~ m/[^\w\._\-]/) {
if ($listname =~ m/[^\w\.-]/) {
$warning = 'InvalidListName';
return (1==0);
}

View file

@ -221,7 +221,7 @@ Lang {
MessageSize.Unit = Bytes
NoFiles = Es befinden sich keine Dateien im Text-Verzeichnis der Mailingliste.
AddSubscriberAddress = Füge eine neue Mailadresse hinzu:
AddSubscriberFile = Importiere eine Datei, die Mailadressen enthält:
AddSubscriberFile = Importiere eine Textdatei, die Mailadressen enthält:
SuggestDefaultPath = Es wird empfohlen, das Standard-Verzeichnis zu verwenden. Andernfalls kannst du die ModeratorInnen-Liste nicht mit ezmlm-web verwalten.
FooterText = eine Web-Oberfläche für
NoListsAvailable = Es sind keine passenden Listen vorhanden.

View file

@ -220,7 +220,7 @@ Lang {
MessageSize.Unit = bytes
NoFiles = There are no files in the text directory of the mailinglist.
AddSubscriberAddress = Add a new mail address:
AddSubscriberFile = Upload a file containing mail addresses to be added:
AddSubscriberFile = Upload a text file containing mail addresses to be added:
SuggestDefaultPath = It is recommended to use the default path for the moderation database. Otherwise you cannot manage the moderators' list with ezmlm-web.
FooterText = a web interface for
NoListsAvailable = I could not find any accessible list for you.