Skip Menu |

This queue is for tickets about the Crypt-SMIME CPAN distribution.

Report information
The Basics
Id: 124035
Status: resolved
Priority: 0/
Queue: Crypt-SMIME

People
Owner: mikage [...] ymir.co.jp
Requestors: unrtstRMSPAM [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 0.07
  • 0.08
  • 0.09
  • 0.10
  • 0.11
  • 0.12
  • 0.13
  • 0.14
  • 0.15
  • 0.16
  • 0.17
  • 0.18
  • 0.19
Fixed in: 0.20



Subject: possible bug in _getContentType
As far as I can tell, this line in SMIME.pl sub _getContentType: } elsif($line =~ m/^([^:]+):\s?(.*)/) { Should be: } elsif($line =~ m/^([^\s:][^:]*?):\s?(.*)/) { IE. when a header line continuation line is reached, if that line includes a colon (":"), then it will be improperly treated as a separate header line. Here's an example header line that is not handled correctly via the existing code: Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="8323329-949354117-1422908037=:4488"
You are correct. I adopted your change and released Crypt-SMIME-0.20. Thank you very much for your fix.