source@mandoc.bsd.lv
 help / color / 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, back to index

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

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