]> andersk Git - moira.git/commitdiff
Punt restriction against apostrophes in strings: the new server MOIRA3_FINAL
authordanw <danw>
Thu, 16 Jan 1997 02:50:46 +0000 (02:50 +0000)
committerdanw <danw>
Thu, 16 Jan 1997 02:50:46 +0000 (02:50 +0000)
quotes and escapes them correctly so they don't cause a problem.

clients/blanche/blanche.c

index ed4bc296cc5b1dfd5df7c5c7643d4eba0c8bb897..8174e86c70372effc9eade84c810e5d2387a3870 100644 (file)
@@ -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, '@'))) {
This page took 0.088969 seconds and 5 git commands to generate.