diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-01-22 17:34:13 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-01-22 17:34:13 +0000 |
commit | f16943392e7c3049a9b20e9cf29be9d423be981f (patch) | |
tree | 4939bd7cd86ae45681b8c9abee427077461499ee /scripts/multipart/multipart.cgi.in | |
parent | [w3m-dev 02885] Re: goURL (diff) | |
download | w3m-f16943392e7c3049a9b20e9cf29be9d423be981f.tar.gz w3m-f16943392e7c3049a9b20e9cf29be9d423be981f.zip |
[w3m-dev 02889] fix scripts/multipart/multipart.cgi.in
* scripts/multipart/multipart.cgi.in: return "" instead of next
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-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); |