From: danw Date: Thu, 16 Jan 1997 02:50:46 +0000 (+0000) Subject: Punt restriction against apostrophes in strings: the new server X-Git-Tag: MOIRA3_FINAL X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/commitdiff_plain/31b88f9ec3865936f428c33ae2ba554bc8f4f1ad Punt restriction against apostrophes in strings: the new server quotes and escapes them correctly so they don't cause a problem. --- diff --git a/clients/blanche/blanche.c b/clients/blanche/blanche.c index ed4bc296..8174e86c 100644 --- a/clients/blanche/blanche.c +++ b/clients/blanche/blanche.c @@ -242,13 +242,6 @@ char **argv; /* Process the add list */ while (sq_get_data(addlist, &memberstruct)) { - if ((memberstruct->type == M_STRING || - memberstruct->type == M_ANY) && - strchr(memberstruct->name, '\'')) { - fprintf(stderr, "%s: Illegal character \"'\" in argument while adding \"STRING:%s\" to %s.\n", - whoami, memberstruct->name, listname); - continue; - } /* canonicalize string if necessary */ if (memberstruct->type == M_STRING && (p = strchr(memberstruct->name, '@'))) {