* 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, other threads:[~2019-11-11 12:46 UTC | newest]
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).