Commit d99a027a authored by IKEDA Soji's avatar IKEDA Soji
Browse files


parent 2f4feceb
......@@ -14691,12 +14691,12 @@ sub do_send_mail {
my $page_source;
if ($in{'uploaded_file'} =~ /\S/) {
my $fh = $query->upload('uploaded_file');
my $fh = $query->upload('uploaded_file');
my $ctype = $query->uploadInfo($fh)->{'Content-Type'}
if $fh;
unless ($ctype and lc $ctype eq 'text/html') {
wwslog('err', 'Can\'t upload %s (%s)', $in{'uploaded_file'},
$ctype || 'unknown type');
wwslog('err', 'Can\'t upload %s (%s)',
$in{'uploaded_file'}, $ctype || 'unknown type');
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment