Closed Bug 1722985 Opened 4 years ago Closed 4 years ago

Update to latest Perl dependencies to support IAM

Categories

(bugzilla.mozilla.org :: General, enhancement)

enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: dkl, Assigned: dkl)

Details

Attachments

(1 file)

This is the second pass at this update as the previous had to be reverted due to causing some emails to be double encoded. The issue was the upstream Email::MIME module changed the format of the 'Content-type' header which our Mailer.pm code did not expect.

https://github.com/rjbs/Email-MIME/commit/e80d8a435dfe167a7883a6350f8c2dc4a8b5039f

I am including the simple email fix in this bug as well as the files related to the update Perl dependencies.

Old header format:
Content-Type: text/plain; charset="UTF-8"

New header format:
Content-Type: text/plain; charset=UTF-8

So basically this section of code was always executing:
https://github.com/mozilla-bteam/bmo/blob/master/Bugzilla/Mailer.pm#L203-L218

Attached file GitHub Pull Request

Merged to master.

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: