﻿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@…	Ryan J Ollos	"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 converts such links (Formatter called from Markdown/macro.py) to:
{{{
#!text/html
<p>email@…
</p>
}}}
which doesn't match to HREF regexp. This causes exception on line 48 in Markdown/macro.py:
{{{
#!python
url = re.search(HREF, out.getvalue()).groups()[0]
}}}

MarkdownMacro 0.11.2

Attached some workaround patch."	defect	assigned	high	MarkdownMacro	normal				
