[freeside-commits] freeside/FS/FS/UI Web.pm,1.12,1.13

Ivan,,, ivan at wavetail.420.am
Thu Nov 17 02:14:53 PST 2005


Update of /home/cvs/cvsroot/freeside/FS/FS/UI
In directory wavetail:/tmp/cvs-serv22499

Modified Files:
	Web.pm 
Log Message:
fix konqueror bug appending nulls to XMLHTTP requests!

Index: Web.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/UI/Web.pm,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- Web.pm	16 Nov 2005 13:14:47 -0000	1.12
+++ Web.pm	17 Nov 2005 10:14:51 -0000	1.13
@@ -164,6 +164,9 @@
   # XXX this should parse JSON foo and build a proper data structure
   my @args = $cgi->param('arg');
 
+  #work around konqueror bug!
+  @args = map { s/\x00$//; $_; } @args;
+
   my $sub = $cgi->param('sub'); #????
 
   warn "FS::UI::Web::JSRPC::process:\n".



More information about the freeside-commits mailing list