]> andersk Git - moira.git/commitdiff
Don't allow commas in STRING members of lists. They break alias file parsing.
authorzacheiss <zacheiss>
Sat, 26 Apr 2003 19:24:04 +0000 (19:24 +0000)
committerzacheiss <zacheiss>
Sat, 26 Apr 2003 19:24:04 +0000 (19:24 +0000)
server/qsupport.pc

index fbc893ada2d3a3b2ff87766832050d6a27036c48..7ed92fa4a4c2f8e0f8e08c96f4e72a90dc3c5932 100644 (file)
@@ -203,7 +203,7 @@ int add_member_to_list(struct query *q, char **argv, client *cl)
       status = id_to_name(mid, STRINGS_TABLE, &buf);
       if (status)
        return status;
-      if (strchr(buf, '/') || strchr(buf, '|'))
+      if (strchr(buf, '/') || strchr(buf, '|') || strchr(buf, ','))
        {
          free(buf);
          return MR_BAD_CHAR;
This page took 0.845231 seconds and 5 git commands to generate.