fix html quoting of export options
authorivan <ivan>
Mon, 24 Nov 2003 13:01:22 +0000 (13:01 +0000)
committerivan <ivan>
Mon, 24 Nov 2003 13:01:22 +0000 (13:01 +0000)
httemplate/browse/part_export.cgi

index 76662e0..79c57ae 100755 (executable)
@@ -26,7 +26,7 @@ function part_export_areyousure(href) {
       <%= itable() %>
       <% my %opt = $part_export->options;
          foreach my $opt ( keys %opt ) { %>
       <%= itable() %>
       <% my %opt = $part_export->options;
          foreach my $opt ( keys %opt ) { %>
-           <TR><TD><%= $opt %></TD><TD><%= $opt{$opt} %></TD></TR>
+           <TR><TD><%= $opt %></TD><TD><%= encode_entities($opt{$opt}) %></TD></TR>
       <% } %>
       </TABLE>
     </TD>
       <% } %>
       </TABLE>
     </TD>