Fix specs for pull request #136 #137

Merged
merged 2 commits into from Jan 21, 2014

3 participants

@scambra

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.] _ <pedro@programatica.es>,
	?=@programatica.es

With quotes I get:
=?UTF-8?B?cGl0ZXIgW0liw6lyaWNhIGRlIFNhbGVzIFMuQS5d?= <pedro@programatica.es>

In 2.0 it worked because it was quoted like this:
"\"#{Refinery::Core.site_name}\" <no-reply@#{request.domain}>"
cceae6f
@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