should fix UTF-8 issues with self-service XML-RPC interface, RT#13656
[freeside.git] / fs_selfservice / FS-SelfService / cgi / xmlrpc.cgi
index 559ae04..d5a8e20 100644 (file)
@@ -6,7 +6,7 @@ use XMLRPC::Lite; # for XMLRPC::Serializer
 use FS::SelfService::XMLRPC;
 
 my %typelookup = (
-  base64 => [10, sub {$_[0] =~ /[^\x09\x0a\x0d\x20-\x7f]/}, 'as_base64'],
+#not utf-8 safe#  base64 => [10, sub {$_[0] =~ /[^\x09\x0a\x0d\x20-\x7f]/}, 'as_base64'],
   dateTime => [35, sub {$_[0] =~ /^\d{8}T\d\d:\d\d:\d\d$/}, 'as_dateTime'],
   string => [40, sub {1}, 'as_string'],
 );