commit e2aab8f364728b15935a1d508ca066469407cb66
parent 301719b78a2693b7d1ec533c36ed94d3c7a24b18
Author: ukai <ukai>
Date: Tue, 22 Jan 2002 17:34:13 +0000
[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:
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
@@ -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
diff --git 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);