Quota all parameters

This commit is contained in:
Jamie Cameron
2026-05-14 19:57:42 -07:00
parent e36729f20b
commit b251b7182c

View File

@@ -72,7 +72,7 @@ else {
$manout = &backquote_command("$config{'man2html_path'} -v 2>&1", 1);
if ($manout =~ /Version:\s+([0-9\.]+)/i && $1 >= 3) {
# New version uses a different syntax!
$cmd .= " $qout | nroff -mman | $config{'man2html_path'} --cgiurl \"view_man.cgi?page=\\\${title}&sec=\\\${section}&opts=$in{'opts'}\" --bare";
$cmd .= " $qout | nroff -mman | $config{'man2html_path'} --cgiurl ".quotemeta("view_man.cgi?page=\\\${title}&sec=\\\${section}&opts=$in{'opts'}")." --bare";
$out = &backquote_command("$cmd 2>&1", 1);
}
else {