source@mandoc.bsd.lv
 help / color / Atom feed
* cvsweb: trivial compilation errors
@ 2019-11-11 12:46 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2019-11-11 12:46 UTC (permalink / raw)
  To: source

Log Message:
-----------
trivial compilation errors

Modified Files:
--------------
    cvsweb:
        cvsweb.cgi

Revision Data
-------------
Index: cvsweb.cgi
===================================================================
RCS file: /home/cvs/mandoc/cvsweb/cvsweb.cgi,v
retrieving revision 4.13
retrieving revision 4.14
diff -Lcvsweb.cgi -Lcvsweb.cgi -u -p -r4.13 -r4.14
--- cvsweb.cgi
+++ cvsweb.cgi
@@ -365,7 +365,7 @@ if (defined($ENV{QUERY_STRING})) {
       $val = uri_unescape($val);
       $val =~ /([^a-zA-Z_01-9.\/-])/ and fatal('404 Not Found',
         'Invalid character "%s" in the value "%s" of the query parameter "%s"',
-        $1, $value, $key);
+        $1, $val, $key);
     } else {
       $val = 1;
     }
@@ -1179,7 +1179,7 @@ EOF
 <legend>General options</legend>
 <input type="hidden" name="copt" value="1" />
 EOF
-    for my $v qw(hidecvsroot hidenonreadable) {
+    for my $v (qw(hidecvsroot hidenonreadable)) {
       printf(qq{<input type="hidden" name="%s" value="%s" />\n},
              $v, $input{$v} || 0);
     }
--
 To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-11 12:46 cvsweb: trivial compilation errors schwarze

source@mandoc.bsd.lv

Archives are clonable: git clone --mirror http://inbox.vuxu.org/mandoc-source

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.mandoc.source


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git