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

Percent encoding for special characters in email address #3253

Open
Dumluregn opened this issue Jul 9, 2019 · 0 comments
Open

Percent encoding for special characters in email address #3253

Dumluregn opened this issue Jul 9, 2019 · 0 comments
Labels
plugin:link The plugin which probably causes the issue. status:confirmed An issue confirmed by the development team. type:feature A feature request.

Comments

@Dumluregn
Copy link
Contributor

Dumluregn commented Jul 9, 2019

Type of report

Feature request

Provide description of the new feature

Extracted from #2138, as mentioned there:

According to [RFC5322], the characters "?", "&", and even "%" may
occur in addr-specs. The fact that they are reserved characters is
not a problem: those characters may appear in 'mailto' URIs -- they
just may not appear in unencoded form. The standard URI encoding
mechanisms ("%" followed by a two-digit hex number) MUST be used in
these cases.

Source: RFC 6068

So we should either percent-encode special characters, or perhaps inform our users that they should handle it.
I wonder if change on our side is possible at all (although it's very easy to do) as this can cause some issues for users who won't notice it and start receiving encoded addresses. On the other hand we already encode email subject and body, so maybe it's not such a big deal.

@Dumluregn Dumluregn added type:feature A feature request. status:confirmed An issue confirmed by the development team. plugin:link The plugin which probably causes the issue. labels Jul 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin:link The plugin which probably causes the issue. status:confirmed An issue confirmed by the development team. type:feature A feature request.
Projects
None yet
Development

No branches or pull requests

1 participant