Skip to content
Snippets Groups Projects
Commit 1a261690 authored by JediKev's avatar JediKev
Browse files

format: Mailto TLD Length

This addresses an issue where the text formatter only allows 2-4
characters in email domain TLDs. This causes an issue if you have a TLD
with more than 4 characters, where the full email address will not be
converted into the link. This increases the allowed characters to 2-63
characters allowing all modern TLDs to be converted correctly. Why 63
chars? Have a look at the 2.3.4 Size Limts section here:
http://www.ietf.org/rfc/rfc1035.txt

Example (using user@domain.testing):
Before
<a href="mailto:user@domain.test">user@domain.test</a>ing
After
<a href="mailto:user@domain.testing">user@domain.testing</a>
parent d2ef3b1f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment