[freeside-commits] freeside/FS/FS Record.pm,1.226.2.3,1.226.2.4

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-serv2660

Modified Files:
      Tag: FREESIDE_2_3_BRANCH
	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.226.2.3
retrieving revision 1.226.2.4
diff -u -w -d -r1.226.2.3 -r1.226.2.4
--- Record.pm	6 Oct 2011 07:00:07 -0000	1.226.2.3
+++ Record.pm	15 Oct 2011 23:15:53 -0000	1.226.2.4
@@ -2244,7 +2244,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);
@@ -2254,7 +2254,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