Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allowed Mail::Address.new to accept non US ASCII strings #1034

Closed
wants to merge 1 commit into from

Conversation

ben5516
Copy link

@ben5516 ben5516 commented Sep 28, 2016

Currently, if you instantiate an address list with a non US ASCII character you get a parse error. This PR fixes that problem by calling Mail::Encodings.encode_non_usascii before Ragel tries to parse the address.

@jeremy
Copy link
Collaborator

jeremy commented Dec 6, 2016

Thanks @ben5516. Downgrading i18n headers before parsing is a good approach, barring UTF8 parsing. Check out https://tools.ietf.org/html/rfc5504 for a full rundown—there's a good bit more to cover.

@jeremy jeremy modified the milestone: 2.7.0 Feb 2, 2017
@shved
Copy link

shved commented Mar 27, 2017

@jeremy Hi! Could you please tell me what's up with this PR? Cant find it in 2.7.0 PR list. Waiting for such update

@jeremy
Copy link
Collaborator

jeremy commented Mar 27, 2017

@shved Note that this PR is open and hasn't been merged. There's a partial implementation that'll need more work to complete.

@jeremy
Copy link
Collaborator

jeremy commented May 15, 2017

Fixed by #1103 🖖

@jeremy jeremy closed this May 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants