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 | |
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-- | ChangeLog | 7 | ||||
-rw-r--r-- | scripts/multipart/multipart.cgi.in | 2 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2002-01-23 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02889] fix scripts/multipart/multipart.cgi.in + * scripts/multipart/multipart.cgi.in: return "" instead of next + 2002-01-23 Fumitoshi UKAI <ukai@debian.or.jp> * [w3m-dev 02885] Re: goURL @@ -2212,4 +2217,4 @@ * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.252 2002/01/22 16:59:11 ukai Exp $ +$Id: ChangeLog,v 1.253 2002/01/22 17:34:13 ukai Exp $ 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); |