Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

In my third comment to this Stack Overflow question, I put in (one explicit, manually formatted link) and two URLs to other SO questions. Since the amount of characters in a comment is quite limited, and since I had to squeeze three links into that comment, I shortened these links to<ID>. (One of them has a superfluous / at the end.)
For reasons I don't understand, markdown failed to turn them into links. Note that markdown did not fail on marking code.

I have checked both links to be valid by copy-pasting them into my browser's address bar. There's nothing wrong with them.
I have also tried these links in test comments (which I deleted afterwards), and they both work fine there. Another test revealed that the sentence that contains them ("I've tagged and as c++-faq."), posted as its own comment, will have the URLs turned into links, too.

What could I have done wrong to make this fail?

share|improve this question
Just a note, you can shorten the URL further by using – codingbadger Nov 17 '10 at 12:00
@Barry: Thanks, I didn't know that! – sbi Nov 17 '10 at 12:02
Wizz bang magical features strip out the www. gubbins for display purposes. – codingbadger Nov 17 '10 at 12:04
@Barry: SO doesn't have www. – sbi Nov 17 '10 at 12:13
up vote 3 down vote accepted

By design. You can no longer mix raw and markdown URLs in the same comment.

Pick one way or the other per comment and stick to it.

With the recent addition of magic links, this was becoming unfeasible, hence we've spent some time to have a better way for fixing this vulnerability. So after the next build, multiple link styles in comments work again.

share|improve this answer
Thanks for pointing this out. Is there a rationale to this? Because, by default, I'd question a design decision that nobody is able to figure out for 13 hours until the site owner comes and explains it. – sbi Nov 18 '10 at 8:27
@sbi there was an exploit based on inappropriate mixing of URL parsers. It's a really odd thing to do on top of that IMHO; what is the valid use case for mixing markup styles in a comment? – Jeff Atwood Nov 18 '10 at 8:30
I guess I can't argue with preventing exploits. :) Thanks for explaining! – sbi Nov 18 '10 at 8:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .