1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/www/webglimpse/files/patch-as
1999-11-17 14:24:02 +00:00

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";