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

Encoded newline ("%0D%0A") in mailto links not working correctly #397

Closed
moollaza opened this issue Nov 11, 2015 · 2 comments
Closed

Encoded newline ("%0D%0A") in mailto links not working correctly #397

moollaza opened this issue Nov 11, 2015 · 2 comments

Comments

@moollaza
Copy link

I have Nylas set to my default client, and while testing a mailto link:

e.g multi-line mailto I noticed that the content after the encoded newline, %0D%0A, is missing in the body of the email.

When I switched my default to the Apple Mail app, the link worked as expected.

It seems that according to http://stackoverflow.com/questions/10356329/mailto-link-multiple-body-lines#10356432 the %0D%0A sequence is part of the 'mailto' URI scheme, so I image Nylas should be able to handle this correctly.

More info: https://tools.ietf.org/html/rfc6068#section-6.1

@bengotow
Copy link
Contributor

Good catch @moollaza — looks like our specs didn't have any mailto links with newlines. I've updated our specs and parsing code, so this will be fixed in the next release. Cheers!

@moollaza
Copy link
Author

Glad to have helped 👍

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

No branches or pull requests

2 participants