diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2015-06-17 20:01:18 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2015-10-06 09:09:23 +0100 |
commit | 014d2a4342d1dbe7d2987376974b20116439e07d (patch) | |
tree | 12fc020da14ca5efa0ee85308b316f3ca935497c /templates | |
parent | 792cb7d7d373c7f6560365f40fd6988ed0f3c946 (diff) |
Fix handling From/To header in new Email::Simple.
Newer versions of Email::Simple (2.104+) treat arrayrefs in headers by fetching
the first item only in scalar context. Our snapshot installs 2.102, so this
shouldn't be an issue, but we might as well bypass Email::Simple for those
headers.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/email/default/test.txt | 1 | ||||
-rw-r--r-- | templates/email/fixamingata/test.txt | 15 |
2 files changed, 0 insertions, 16 deletions
diff --git a/templates/email/default/test.txt b/templates/email/default/test.txt index bfa2c1dd3..1acd4b6ca 100644 --- a/templates/email/default/test.txt +++ b/templates/email/default/test.txt @@ -1,5 +1,4 @@ Subject: test email ☺ -From: bad-sender@duff.com Hello, diff --git a/templates/email/fixamingata/test.txt b/templates/email/fixamingata/test.txt deleted file mode 100644 index bfa2c1dd3..000000000 --- a/templates/email/fixamingata/test.txt +++ /dev/null @@ -1,15 +0,0 @@ -Subject: test email ☺ -From: bad-sender@duff.com - -Hello, - -This is a test email where foo: [% foo %]. - -utf8: 我们应该能够无缝处理UTF8编码 - - indented_text - -long line: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. - -Yours, -FixMyStreet. |