summaryrefslogtreecommitdiff
path: root/SMIME.pl
diff options
context:
space:
mode:
authorgregor herrmann <gregoa@debian.org>2018-01-19 19:34:52 +0100
committergregor herrmann <gregoa@debian.org>2018-01-19 19:34:52 +0100
commitbf39a1dae0be1974ea30d40baa1ef8f0aaf17bd1 (patch)
tree36878140d9bcb00e91d625a950e4907ef3920b2c /SMIME.pl
parente59d3a060552bc7bbe0b890c3a4a597feef6dc41 (diff)
New upstream version 0.21
Diffstat (limited to 'SMIME.pl')
-rw-r--r--SMIME.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/SMIME.pl b/SMIME.pl
index fb98e2a..8753b6e 100644
--- a/SMIME.pl
+++ b/SMIME.pl
@@ -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;