Skip to content

Commit a07f521

Browse files
David MaloneyDavid Maloney
authored andcommitted
Minor fix to broken interpolation
1 parent 2cb2b28 commit a07f521

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/core/auxiliary/mime_types.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def mime_lookup_by_extension(extension)
1212
end
1313
mtype = Mime::Type.lookup_by_extension(extension)
1414
mtype = mime_yaml_lookup(extension) if mtype.nil?
15-
mtype = 'application/#{extension}' if mtype.nil?
15+
mtype = "application/#{extension}" if mtype.nil?
1616
return mtype
1717
end
1818

0 commit comments

Comments
 (0)