diff options
Diffstat (limited to 'scripts/multipart')
-rw-r--r-- | scripts/multipart/multipart.cgi.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/multipart/multipart.cgi.in b/scripts/multipart/multipart.cgi.in index 7244e48..11c1370 100644 --- a/scripts/multipart/multipart.cgi.in +++ b/scripts/multipart/multipart.cgi.in @@ -250,7 +250,7 @@ sub form_decode { sub guess_type { local($_) = @_; - /\.(\w+)$/ || next; + /\.(\w+)$/ || return ""; $_ = $1; tr/A-Z/a-z/; %mime_type = &load_mime_type($MIME_TYPE); |