]> andersk Git - moira.git/commitdiff
don't lookup usernames with @ in them
authormar <mar>
Thu, 15 Apr 1993 15:54:19 +0000 (15:54 +0000)
committermar <mar>
Thu, 15 Apr 1993 15:54:19 +0000 (15:54 +0000)
server/qsupport.dc

index 3a2faa58b912d831aa62dd54515f6f7eb27de244..af325bceb6f196800881983f761d39e6cb3ec931 100644 (file)
@@ -3924,6 +3924,8 @@ validate_typedata(q, argv, vo)
        *index(data_type, ' ') = 0;
     if (!strcmp(data_type, "user")) {
        /* USER */
+       if (index(name, '@'))
+         return(MR_USER);
        status = name_to_id(name, data_type, &id);
        if (status && (status == MR_NO_MATCH || status == MR_NOT_UNIQUE))
          return(MR_USER);
This page took 0.073696 seconds and 5 git commands to generate.