Cannot open a mailto link inside a post


(Miguel Hurtado) #1

Hi there, I’m using Discourse 1.6.0.beta2.

I have notice that on new post mailto links won’t open correctly. They are redirected to a track link script that doesn’t open the default email client. The url of the script is this: https://meta.discourse.org/clicks/track?url=mailto%3Aasdf%40asdf.com&post_id=187986&topic_id=43031 (replace meta.discourse.org with the installation url).

This doesn’t seems to affect posts that are about two weeks old, just new ones. Examples of this behavior can been seen here:

Can't link emails Email link fails.

Can't create mailto links in posts Email link works.

In my installation I have “track external right clicks” disabled, and it has always been like that.


(Jeff Atwood) #2

Are you doing it this way?

name@example.com
<name@example.com>

or this way?

name@example.com
<a href="mailto:name@example.com">name@example.com</a>

Aha, I see what you mean. Probably a bug we should fix. @techapj can you add to your list?


(Miguel Hurtado) #3

Both ways, they all fail.


(Arpit Jalan) #4

Fixed via:


(Arpit Jalan) #5