discourse/spec/fixtures
Claus Strasburger e9bb9a167b Fix reply-by-mail for 8-bit transfer encodings
The mail class seems to handle mails sent with Content-Transfer-Encoding: 8bit
somewhat weirdly: It decodes them (to utf-8), changes the raw source to base64,
and does not modify the Content-Type:charset= header.

This leads to Discourse trying the message encoding (in my example ISO-8859-1)
first, and if that does not contain any unparseable characters, it uses that.
Sadly, in ISO-8859-1, every byte sequence is valid.

Fix this by always trying to decode as UTF-8 first. The probability of someone
using another encoding that cleanly (but wrongly) decodes as UTF-8 should be
fairly low.
2017-04-30 23:30:40 +02:00
..
csv FEATURE: Add topic invitation support to Bulk Invite 2014-06-26 20:46:53 +05:30
emails Fix reply-by-mail for 8-bit transfer encodings 2017-04-30 23:30:40 +02:00
images FEATURE: new 'max_image_megapixels' site setting 2017-01-11 23:37:12 +01:00
plugins/my_plugin correct spec 2013-08-26 14:39:34 +10:00
scss Theming: a UI to choose some base colors that are applied to all the site css. CSS compiled outside of asset pipeline. 2014-05-14 10:18:12 -04:00
site_settings Rename `ninja_edit_window` to `editing_grace_period` :'( 2015-11-24 14:28:42 -05:00