Well, yes, interesting. But in the context of email including a '.' at the 
end of an email address at the end of the address in mailto: does NOT work. 
RFC 2821 (SMTP) does not seem to address this issue. In practice, it seems 
that most email servers will not accept the trailing '.' and messages 
including it in the recipient address get bounced.

I'm using MARKMIN to format the body of emails sent to an application 
maintained mailing list. These notices often contain or end with something 
along the lines of "For more information, please contact [email protected]. Its 
natural to end the sentence that way and tough to remember not to do so. So 
I'm leaving my app with the modified code!

On Sunday, May 31, 2015 at 12:53:53 PM UTC-4, Massimo Di Pierro wrote:
>
> Actually technically all domain names are supposed to end in . 
>
> http://www.dns-sd.org/trailingdotsindomainnames.html
>
> The . is usually omitted because the DNS understand it anyway.
>
> On Saturday, 30 May 2015 06:49:12 UTC-5, David Manns wrote:
>>
>> This can be resolved by changing one line in markmin2html.py
>> 554 regex_auto = 
>> re.compile(r'(?<!["\w>/=])(?P<k>\w+://[\w\d\-+_=?%&/:.,;#]+\w|[\w\-.]+@[\w\-.]+)',re.M)
>> to 
>> 554 regex_auto = 
>> re.compile(r'(?<!["\w>/=])(?P<k>\w+://[\w\d\-+_=?%&/:.,;#]+\w|[\w\-.]+@[\w\-.]*\w+)',re.M)
>>
>> It seems reasonable that a domain name should not end in '.' or '-'
>>
>>
>> On Wednesday, May 27, 2015 at 9:17:58 AM UTC-4, David Manns wrote:
>>>
>>> Using MARKMIN helper, if the string includes something like "... text 
>>> [email protected] <javascript:>. Another sentence ..."  the period 
>>> following the email address is incorrectly included in the email link.
>>>
>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to