From f2c2a4391c390e6378d19753fd70daec73a567f6 Mon Sep 17 00:00:00 2001 From: Tomas 'ZeXx86' Jedrzejek Date: Mon, 13 Jul 2009 21:47:57 +0200 Subject: [PATCH] Fixed bug with unallowed characters --- common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.c b/common.c index 4fe23d5..46ec3f7 100644 --- a/common.c +++ b/common.c @@ -48,7 +48,7 @@ void conparam_verify (char *str, unsigned len) { unsigned i; for (i = 0; i < len; i ++) { - if (!isalnum (str[i]) && str[i] != '+' && str[i] != '\"' && str[i] != ' ' && str[i] != '_'&& str[i] != '-' && str[i] != '.' && str[i] != ':') + if (str[i] == '$' || str[i] == '(' || str[i] == ')' || str[i] == ';' || str[i] == '|' || str[i] == '<' || str[i] == '>') str[i] = ' '; } } \ No newline at end of file -- 2.11.4.GIT