source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* cvsweb: Delete disabled code for globbing in PATH_INFO.
@ 2019-11-30 13:09 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2019-11-30 13:09 UTC (permalink / raw)
  To: source

Log Message:
-----------
Delete disabled code for globbing in PATH_INFO.  No implemention
exists, and writing one looks like a bad idea for security reasons.

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

Revision Data
-------------
Index: cvsweb.cgi
===================================================================
RCS file: /home/cvs/mandoc/cvsweb/cvsweb.cgi,v
retrieving revision 4.39
retrieving revision 4.40
diff -Lcvsweb.cgi -Lcvsweb.cgi -u -p -r4.39 -r4.40
--- cvsweb.cgi
+++ cvsweb.cgi
@@ -1287,16 +1287,6 @@ elsif (do { (my $tmp = $fullname) =~ s|/
 
 }
 
-elsif (0 && (my @files = &safeglob($fullname . ",v"))) {
-  http_header("text/plain");
-  print "You matched the following files:\n";
-  print join ("\n", @files);
-
-  # TODO:
-  # Find the tags from each file
-  # Display a form offering diffs between said tags
-}
-
 else {
   # Assume it's a module name with a potential path following it.
   my $module;
--
 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-30 13:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-30 13:09 cvsweb: Delete disabled code for globbing in PATH_INFO 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).