]> git.openstreetmap.org Git - chef.git/commit
DMCA form: add Content-Type header to generated email
authorpolarbearing <polarbearing@users.noreply.github.com>
Tue, 24 Nov 2020 15:47:15 +0000 (16:47 +0100)
committerGitHub <noreply@github.com>
Tue, 24 Nov 2020 15:47:15 +0000 (16:47 +0100)
commit9feb2672a73e40ba91d06f7e3b1a1313b020dd96
tree1c37573f6a80734889b2d1e0709169660ef69129
parent8eee3f5c0467b78c1e3835246867dccc743b4f24
DMCA form: add Content-Type header to generated email

DMCA form mails lack a content-type header. Quite often non-latin, such as Persian, is filled in, typically in utf-8, which currently looks garbled in the receiving mail client.
This PR adds the same content-type that the html page uses itself, and is the most likely to be filled by the form users.
cookbooks/dmca/files/default/html/index.php