summaryrefslogtreecommitdiff
path: root/FS/FS/UI
diff options
context:
space:
mode:
authorivan <ivan>2005-11-17 10:14:51 +0000
committerivan <ivan>2005-11-17 10:14:51 +0000
commit367e6975af9f9cfb35ad951d4ea926db10caa514 (patch)
tree6b1adf51c39a6eeb39a1845ba7aa1b7fbb325f24 /FS/FS/UI
parentd6edb7f296db6befc54396c001e64e67a79fe40b (diff)
fix konqueror bug appending nulls to XMLHTTP requests!
Diffstat (limited to 'FS/FS/UI')
-rw-r--r--FS/FS/UI/Web.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/FS/FS/UI/Web.pm b/FS/FS/UI/Web.pm
index 4a324ec..11e4804 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".