From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost (mandoc.bsd.lv [local]) by mandoc.bsd.lv (OpenSMTPD) with ESMTPA id 598f0b21 for ; Sat, 9 Nov 2019 04:27:53 -0500 (EST) Date: Sat, 9 Nov 2019 04:27:53 -0500 (EST) X-Mailinglist: mandoc-source Reply-To: source@mandoc.bsd.lv MIME-Version: 1.0 From: schwarze@mandoc.bsd.lv To: source@mandoc.bsd.lv Subject: cvsweb: merge rev. X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Message-ID: <8d0768707a74949c@mandoc.bsd.lv> Log Message: ----------- merge rev. 3.119.2.14: Switch the order of the name and the section in the $mancgi configuration variable. For the new man.openbsd.org URI syntax, the name must come first. For the old query syntax, both orders work just fine. Modified Files: -------------- cvsweb: cvsweb.cgi Revision Data ------------- Index: cvsweb.cgi =================================================================== RCS file: /home/cvs/mandoc/cvsweb/cvsweb.cgi,v retrieving revision 4.5 retrieving revision 4.6 diff -Lcvsweb.cgi -Lcvsweb.cgi -u -p -r4.5 -r4.6 --- cvsweb.cgi +++ cvsweb.cgi @@ -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; } $_; -- To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv