mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-06 22:51:41 +00:00
15 lines
332 B
Plaintext
15 lines
332 B
Plaintext
|
--- cgi-bin/mfs.bak Wed Oct 22 09:49:43 1997
|
||
|
+++ cgi-bin/mfs Wed Nov 17 16:21:17 1999
|
||
|
@@ -15,7 +15,11 @@
|
||
|
$file = $ENV{'QUERY_STRING'};
|
||
|
|
||
|
$indexdir =~ s/\'//g;
|
||
|
+$indexdir =~ s/\\/\\\\/g;
|
||
|
+$indexdir =~ s/\0//g;
|
||
|
$file =~ s/\'//g;
|
||
|
+$file =~ s/\\/\\\\/g;
|
||
|
+$file =~ s/\0//g;
|
||
|
|
||
|
if (!$indexdir) {
|
||
|
print "Content-type: text/html\n\n";
|