=================================================================== RCS file: /cvs/cvsweb/cvsweb.cgi,v retrieving revision 4.5 retrieving revision 4.7 diff -u -p -r4.5 -r4.7 --- cvsweb/cvsweb.cgi 2019/11/09 09:24:13 4.5 +++ cvsweb/cvsweb.cgi 2019/11/09 09:32:22 4.7 @@ -1,5 +1,5 @@ #!/usr/bin/perl -# $Id: cvsweb.cgi,v 4.5 2019/11/09 09:24:13 schwarze Exp $ +# $Id: cvsweb.cgi,v 4.7 2019/11/09 09:32:22 schwarze Exp $ # $knu: cvsweb.cgi,v 1.299 2010/11/13 16:37:18 simon # # cvsweb - a CGI interface to CVS trees. @@ -1540,7 +1540,7 @@ sub htmlify($;$) }{ my($text, $name, $section) = ($1, $2, defined($3) ? $3 : $4); ($name =~ /[A-Za-z]/ && $name !~ /\.(:|$)/) - ? &link($text, sprintf($mancgi, $section, uri_escape($name))) + ? &link($text, sprintf($mancgi, uri_escape($name), $section)) : $text; }egx; } $_; @@ -4194,6 +4194,7 @@ sub htmlquote($) # Special Characters; RFC 1866 s/&/&/g; s/\"/"/g; + s/%22/"/g; s//>/g; return $_;