[freeside-commits] freeside/FS/FS svc_acct.pm,1.311,1.312
Erik Levinson
levinse at wavetail.420.am
Tue Jun 14 13:53:41 PDT 2011
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv32373/FS/FS
Modified Files:
svc_acct.pm
Log Message:
svc_acct.pm: allow unicode chars in finger, RT13277
Index: svc_acct.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/svc_acct.pm,v
retrieving revision 1.311
retrieving revision 1.312
diff -u -w -d -r1.311 -r1.312
--- svc_acct.pm 10 Jun 2011 18:46:55 -0000 1.311
+++ svc_acct.pm 14 Jun 2011 20:53:39 -0000 1.312
@@ -1369,8 +1369,7 @@
$self->setfield('finger', $cust_main->first.' '.$cust_main->get('last') );
}
}
- $self->getfield('finger') =~
- /^([µ_0123456789aAáÁàÀâÂåÅäÄãêæÆbBcCçÇdDðÐeEéÉèÈêÊëËfFgGhHiIíÍìÌîÎïÏjJkKlLmMnNñÑoOóÓòÒôÔöÖõÕøغpPqQrRsSßtTuUúÚùÙûÛüÜvVwWxXyYýÝÿzZþÞ \t\!\@\#\$\%\&\(\)\-\+\;\'\"\,\.\?\/\*\<\>]*)$/
+ $self->getfield('finger') =~ /^([\w \,\.\-\'\&]+)$/
or return "Illegal finger: ". $self->getfield('finger');
$self->setfield('finger', $1);
More information about the freeside-commits
mailing list