diff options
Diffstat (limited to 'scripts/multipart')
| -rw-r--r-- | scripts/multipart/multipart.cgi.in | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/scripts/multipart/multipart.cgi.in b/scripts/multipart/multipart.cgi.in index be4e6a0..fb13443 100644 --- a/scripts/multipart/multipart.cgi.in +++ b/scripts/multipart/multipart.cgi.in @@ -25,7 +25,7 @@ if (defined($ENV{'QUERY_STRING'})) {  	$CGI = "file:///\$LIB/multipart.cgi?file=" . &html_quote($file);  } -open(F, $file); +open(F, "< $file");  $end = 0;  $mbody = '';  if (defined($boundary)) { @@ -258,7 +258,7 @@ sub load_mime_type {  	local($file) = @_;  	local(%m, $a, @b, $_); -	open(M, $file) || return (); +	open(M, "< $file") || return ();  	while(<M>) {  		/^#/ && next;  		chop; | 
