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

My recent comment with text

@Chris: Oh. I didn't even consider this. Still, this links isn't in google nor I can find it via [internal search](*%22&submit=search)

Had to offer link to search url:"*". However, that star was removed in url, so from (removed Stack Overflow url)


I got


instead, without that start, it's also visible in source code

<a href=";submit=search">internal search</a>
share|improve this question
You can also see the problem here – genesis Oct 7 '11 at 21:35
up vote 6 down vote accepted

An asterisk is not in the sanitizer's character whitelist for URLs, so it will be removed. You have to UrlEncode it as %2a.

From the next build on, the star will not be removed, but encoded, and thus the link will work fine.

See this answer of mine for details.

share|improve this answer
Any chance the search could encode that in its URL too? – Arjan Oct 7 '11 at 22:06
@Arjan - that would be a reasonable work-around for:… too – Flexo Oct 8 '11 at 17:08
Note that this actually works for Markdown URLs in regular posts (where the * is encoded to become %2a), but not for Markdown URLs in comments. Is that the expected behavior? – Arjan Dec 11 '11 at 13:03
As for search: the URL in the location bar after submitting a search for url:"*" does not encode the asterisk, but yields*%22. Hence, it cannot be used in comments like so, but only when manually encoding the asterisk first, like so. It would be nice if the search encoded for us... :-) – Arjan Dec 11 '11 at 13:12

You must log in to answer this question.

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