From 367e6975af9f9cfb35ad951d4ea926db10caa514 Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 17 Nov 2005 10:14:51 +0000 Subject: [PATCH] fix konqueror bug appending nulls to XMLHTTP requests! --- FS/FS/UI/Web.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/FS/FS/UI/Web.pm b/FS/FS/UI/Web.pm index 4a324ec70..11e4804fe 100644 --- a/FS/FS/UI/Web.pm +++ b/FS/FS/UI/Web.pm @@ -164,6 +164,9 @@ sub process { # 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". -- 2.11.0