diff options
author | gregor herrmann <gregoa@debian.org> | 2018-01-19 19:34:52 +0100 |
---|---|---|
committer | gregor herrmann <gregoa@debian.org> | 2018-01-19 19:34:52 +0100 |
commit | bf39a1dae0be1974ea30d40baa1ef8f0aaf17bd1 (patch) | |
tree | 36878140d9bcb00e91d625a950e4907ef3920b2c /SMIME.pl | |
parent | e59d3a060552bc7bbe0b890c3a4a597feef6dc41 (diff) |
New upstream version 0.21
Diffstat (limited to 'SMIME.pl')
-rw-r--r-- | SMIME.pl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,7 +15,7 @@ our %EXPORT_TAGS = ( ); Exporter::export_ok_tags('constants'); -our $VERSION = '0.19'; +our $VERSION = '0.21'; XSLoader::load(__PACKAGE__, $VERSION); @@ -134,7 +134,7 @@ sub _getContentType { foreach my $line (split /\r\n/, $mime) { if(!length($line)) { return $headline; - } elsif($line =~ m/^([^:]+):\s?(.*)/) { + } elsif($line =~ m/^([^\s:][^:]*?):\s?(.*)/) { my ($key, $value) = ($1, $2); $headkey = $key; |