[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>
This commit is contained in:
Fumitoshi UKAI
2002-01-22 17:34:13 +00:00
parent 7b85bcab2f
commit f16943392e
2 changed files with 7 additions and 2 deletions

View File

@@ -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> 2002-01-23 Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02885] Re: goURL * [w3m-dev 02885] Re: goURL
@@ -2212,4 +2217,4 @@
* release-0-2-1 * release-0-2-1
* import w3m-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 $

View File

@@ -250,7 +250,7 @@ sub form_decode {
sub guess_type { sub guess_type {
local($_) = @_; local($_) = @_;
/\.(\w+)$/ || next; /\.(\w+)$/ || return "";
$_ = $1; $_ = $1;
tr/A-Z/a-z/; tr/A-Z/a-z/;
%mime_type = &load_mime_type($MIME_TYPE); %mime_type = &load_mime_type($MIME_TYPE);