Skip to content

Commit

Permalink
HTML escape command description
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed Nov 27, 2017
1 parent bf07be5 commit a9c97ee
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions custom/run.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ if ($cmd->{'format'} ne 'redirect' && $cmd->{'format'} ne 'form') {
print "\n";
}
else {
&ui_print_unbuffered_header($cmd->{'desc'}, $text{'run_title'},
"", -d "help" ? "run" : undef);
&ui_print_unbuffered_header(
&html_escape($cmd->{'desc'}), $text{'run_title'},
"", -d "help" ? "run" : undef);
}
}

Expand Down

0 comments on commit a9c97ee

Please sign in to comment.