Users linked in replies don't link properly in email body

(Tom Piddock) #1

Similar to this issue here the links for users in a post do not create the proper URL when the reply arrives in an email notification. Spotted it when a friend replied to my post on try : tmplink

Steps to replicate:

  1. Create Topic
  2. Reply using a user @ tag in your reply “Hey @Blue, nice bug!”
  3. Check email for notification - html reads:
    "<p>Hey <a href="http://users/blue" target="_blank">@Blue</a>, nice bug!</p>"
  4. Click and realise that http://users/ isn’t a real place on the interwebs.

Hope this helps. tips hat

(Nicholas Perry) #2

I just noticed that the same situation occurs on @codinghorror’s latest blog post: Welcome Régis Hanol to the Discourse team

Specifically, it occurs with this post: Welcome Régis Hanol to the Discourse team that ended up getting syndicated to the blog “notable replies” feed. It links to @zogstrip, but the link on the blog points to the relative url: /users/zogstrip which ends up getting directed to instead of the actual one: 301 Moved Permanently

(Jeff Atwood) #3

I think @eviltrout fixed this in his last round of email digest improvements? Can you confirm Robin?

(Tom Piddock) #4

Just reply with my tag and I’ll check my email.

(Robin Ward) #5

I am a pretty sure I fixed this. Test link: 301 Moved Permanently


(Jeff Atwood) #6

This topic was automatically closed after 24 hours. New replies are no longer allowed.