]> ruin.nu Git - ndwebbie.git/blobdiff - raids.pl
fix so it runs in tainted mode
[ndwebbie.git] / raids.pl
index 2b01ec5b611f23e4008444ccaed1f46d913924f3..4480d6bff2a13ba74a3797b3532ba4d0b3b6f268 100644 (file)
--- a/raids.pl
+++ b/raids.pl
@@ -33,7 +33,6 @@ sub generateClaimXml {
        if ($target){
                $target = "r.id = $target";
                $_ = listTargets();
-               chop;
                $BODY->param(TargetList => $_);
        }else{
                $target = "r.raid = $raid->{id}";
@@ -158,7 +157,6 @@ if ($XML && $raid && param('cmd') eq 'update' ){
 }
 if ($XML && param('cmd') eq 'gettargets' ){
        $_ = listTargets();
-       chop;
        $BODY->param(TargetList => $_);
 }