projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00f2fdb
)
keith@landel:
author
ivan
<ivan>
Mon, 25 Feb 2002 19:09:43 +0000
(19:09 +0000)
committer
ivan
<ivan>
Mon, 25 Feb 2002 19:09:43 +0000
(19:09 +0000)
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
patch
|
blob
|
history
diff --git
a/httemplate/search/svc_acct.cgi
b/httemplate/search/svc_acct.cgi
index
0918275
..
dd0221d
100755
(executable)
--- 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}) ];