From bc8ce86aaf207f2fb89054020873bbff79489642 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 25 Feb 2002 19:09:43 +0000 Subject: keith@landel: We have users that have the character "." in their username we can't search these customers by Username, can you please fix. --- httemplate/search/svc_acct.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'httemplate/search/svc_acct.cgi') diff --git a/httemplate/search/svc_acct.cgi b/httemplate/search/svc_acct.cgi index 0918275d7..dd0221d9a 100755 --- a/httemplate/search/svc_acct.cgi +++ b/httemplate/search/svc_acct.cgi @@ -234,7 +234,7 @@ sub uid_sort { sub usernamesearch { - $cgi->param('username') =~ /^([\w\d\-]+)$/; #untaint username_text + $cgi->param('username') =~ /^([\w\-\.\&]+)$/; #untaint username_text my($username)=$1; [ qsearch('svc_acct',{'username'=>$username}) ]; -- cgit v1.2.1