chiark / gitweb /
Encode entities in linkqf from routetrade 6.4.2
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 27 Dec 2009 19:19:19 +0000 (19:19 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 27 Dec 2009 19:19:19 +0000 (19:19 +0000)
yarrg/web/routetrade

index b51a3a0..f339caa 100644 (file)
@@ -896,7 +896,7 @@ END
                $linkqf{'query'}= 'commod';
                $linkqf{'commodstring'}= $t->{'commodname'};
                $linkqf{'commodid'}= $t->{'commodid'};
-               my $linkqfpr= $quri->(%linkqf);
+               my $linkqfpr= encode_entities( $quri->(%linkqf) );
                my $commodnamepr= encode_entities($t->{'commodname'});
                $plan_html .= tr_datarow_s($m,$dline) . <<END;
 <$td>$collectdeliver