aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/multipart
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-01-22 17:34:13 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-01-22 17:34:13 +0000
commitf16943392e7c3049a9b20e9cf29be9d423be981f (patch)
tree4939bd7cd86ae45681b8c9abee427077461499ee /scripts/multipart
parent[w3m-dev 02885] Re: goURL (diff)
downloadw3m-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.in2
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);