Fix specs for pull request #136 #137

merged 2 commits into from Jan 21, 2014

3 participants


I have fixed specs as required in #136

pedropaG and others added some commits Dec 27, 2013
@pedropaG pedropaG Fix from header in mail when utf8 characters are used
When UTF8 characters are used in name or site name, from header is utf8 encoded but quotes are needed or header will be wrong.

Without quotes I get:
=?UTF-8?Q?Pedro_ [Ib=C3=A9rica_de_Sales_S.A.] _ <>,

With quotes I get:
=?UTF-8?B?cGl0ZXIgW0liw6lyaWNhIGRlIFNhbGVzIFMuQS5d?= <>

In 2.0 it worked because it was quoted like this:
"\"#{Refinery::Core.site_name}\" <no-reply@#{request.domain}>"
@scambra scambra fix checking from header in specs 1c7c73d
@ugisozols ugisozols merged commit bda5658 into refinery:2-1-stable Jan 21, 2014

1 check failed

Details default The Travis CI build could not complete due to an error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment