[freeside-commits] freeside/FS/FS Record.pm,1.230,1.231

Ivan,,, ivan at wavetail.420.am
Sat Oct 15 16:15:55 PDT 2011


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv2657

Modified Files:
	Record.pm 
Log Message:
tokyo fix, RT#12981

Index: Record.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Record.pm,v
retrieving revision 1.230
retrieving revision 1.231
diff -u -w -d -r1.230 -r1.231
--- Record.pm	6 Oct 2011 20:44:17 -0000	1.230
+++ Record.pm	15 Oct 2011 23:15:52 -0000	1.231
@@ -2076,7 +2076,7 @@
   #warn "notexist ". \&notexist. "\n";
   #warn "AUTOLOAD ". \&AUTOLOAD. "\n";
   $self->getfield($field)
-    =~ /^([\w \!\@\#\$\%\&\(\)\-\+\;\:\'\"\,\.\?\/\=\[\]\<\>$money_char]+)$/
+    =~ /^([\wô \!\@\#\$\%\&\(\)\-\+\;\:\'\"\,\.\?\/\=\[\]\<\>$money_char]+)$/
       or return gettext('illegal_or_empty_text'). " $field: ".
                  $self->getfield($field);
   $self->setfield($field,$1);
@@ -2086,7 +2086,7 @@
 =item ut_textn COLUMN
 
 Check/untaint text.  Alphanumerics, spaces, and the following punctuation
-symbols are currently permitted: ! @ # $ % & ( ) - + ; : ' " , . ? /
+symbols are currently permitted: ! @ # $ % & ( ) - + ; : ' " , . ? / = [ ] < >
 May be null.  If there is an error, returns the error, otherwise returns false.
 
 =cut



More information about the freeside-commits mailing list