﻿id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release
10958,Exception while processing email links without EMAIL_VIEW privilege,marmarek@…,Douglas Clifton,"When markdown content contains email links like this:
{{{
[test](mailto:email@example.com)
}}}
and viewer doesn't have EMAIL_VIEW permission, it end up with exception (AttributeError: 'NoneType' object has no attribute 'group').

Trac convert such links (Formatter called from Markdown/macro.py) to:
{{{
<p>email@…
</p>
}}}
which doesn't match to HREF regexp. This causes exception on line 48 in Markdown/macro.py:
{{{
url = re.search(HREF, out.getvalue()).groups()[0]
}}}

MarkdownMacro 0.11.2

Attached some workaround patch.",defect,new,normal,MarkdownMacro,normal,,,,
