Usually, when an email is received a user lookup is performed using the email address found in the `From` header. When an email has an `X-Original-From` header, if it is equal to `Reply-To` then it uses that one instead. The comparison was sensitive to whitespaces and other insignificant characters such as quotes because it reconstructed the `From` header. For the fixture added in this commit, it compared the reconstructed `From` header `John Doe <johndoe@example.com>` with the `Reply-To` header `"John Doe" <johndoe@example.com>`. |
||
|---|---|---|
| .. | ||
| components | ||
| fabricators | ||
| fixtures | ||
| helpers | ||
| import_export | ||
| initializers | ||
| integration | ||
| integrity | ||
| jobs | ||
| lib | ||
| mailers | ||
| models | ||
| multisite | ||
| requests | ||
| script/import_scripts | ||
| serializers | ||
| services | ||
| support | ||
| tasks | ||
| views/omniauth_callbacks | ||
| rails_helper.rb | ||
| swagger_helper.rb | ||