summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Header.pm
diff options
context:
space:
mode:
authorfukachan <fukachan>2001-02-03 16:57:38 +0000
committerfukachan <fukachan>2001-02-03 16:57:38 +0000
commite274d0189e55252eeac5740f6ad83309495c806d (patch)
treea0084cdf4497e157534a217dbd320553ca9abeb9 /fml/lib/FML/Header.pm
parent2bd489278fc3d72ff6b8107324a4726777ba0fc5 (diff)
downloadfml8-e274d0189e55252eeac5740f6ad83309495c806d.tar.gz
fml8-e274d0189e55252eeac5740f6ad83309495c806d.tar.bz2
fml8-e274d0189e55252eeac5740f6ad83309495c806d.zip
fix content_type() bug
Diffstat (limited to 'fml/lib/FML/Header.pm')
-rw-r--r--fml/lib/FML/Header.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/fml/lib/FML/Header.pm b/fml/lib/FML/Header.pm
index 8094c604..d38d3d98 100644
--- a/fml/lib/FML/Header.pm
+++ b/fml/lib/FML/Header.pm
@@ -71,7 +71,7 @@ sub content_type
sub mime_boundary
{
my ($header) = @_;
- my ($m) = split(/;/, $header->get('content-type'));
+ my $m = $header->get('content-type');
if ($m =~ /boundary=\"(.*)\"/) {
return "--".$1;