--- ./cgi-bin/mfs.orig	1997-10-22 01:49:43.000000000 -0400
+++ ./cgi-bin/mfs	2009-07-07 22:30:26.586086457 -0400
@@ -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";
