projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b033de9
)
svc_acct.pm: allow unicode chars in finger, RT13277
author
levinse
<levinse>
Tue, 14 Jun 2011 22:08:24 +0000
(22:08 +0000)
committer
levinse
<levinse>
Tue, 14 Jun 2011 22:08:24 +0000
(22:08 +0000)
FS/FS/svc_acct.pm
patch
|
blob
|
history
diff --git
a/FS/FS/svc_acct.pm
b/FS/FS/svc_acct.pm
index
e5c4bc3
..
f12eca1
100644
(file)
--- a/
FS/FS/svc_acct.pm
+++ b/
FS/FS/svc_acct.pm
@@
-1369,7
+1369,7
@@
sub check {
$self->setfield('finger', $cust_main->first.' '.$cust_main->get('last') );
}
}
- $self->getfield('finger') =~ /^([\w \,\.\-\'\&]+)$/
+ $self->getfield('finger') =~ /^([\w \,\.\-\'\&
\t\!\@\#\$\%\(\)\+\;\"\?\/\*\<\>
]+)$/
or return "Illegal finger: ". $self->getfield('finger');
$self->setfield('finger', $1);