When commenting, and you write a URL in backticks, the http://www. part is cut off, and it is converted to a link. Converting it to a link might not be so bad, but cutting it off can change the meaning of the content as you usually put code in backticks.

I also accidentally came across a bug; there seems to be something strange going on with the characters after the URL. See my comments to this post. I entered the following in backticks:

header("Location: http://www.example.com/user/home.php");

Not completed!

See more bugs in comments to this question.

  • See example: header("Location: http://www.example.com/user/home.php");
    – Blixt
    Jul 14, 2009 at 16:14
  • There's also something funky going on with that semi-colon. I entered it as header(...); and I even tried removing the comment and re-adding it to make sure it wasn't an error on my side.
    – Blixt
    Jul 14, 2009 at 16:15
  • On a related (faintly related) subject: how do you get backticks to appear in text embedded in backticks? Jul 14, 2009 at 21:26
  • try using backslash like `ticks` versus un back-slashed ticks Jul 17, 2009 at 4:27
  • Seeing if bug is still here: header("Location: example.com/user/home.php");
    – Blixt
    Jul 23, 2009 at 18:54
  • Another bug: beta.multifarce.com/api/get_frame?frame=7001 note that that URL actually ends after "7001", yet its text ends with "7001/..."
    – Blixt
    Aug 20, 2009 at 11:58
  • 1
    URL's in comments- You so crazy!!!
    – jjnguy
    Aug 20, 2009 at 13:57
  • header("Location: http://example.com/user/home.php";); Aug 20, 2009 at 15:32
  • 1
    header("Location: http://‎www.example.com/user/home.php");
    – random
    Oct 6, 2009 at 11:24
  • Codified version: header("Location: http://‎www.example.com/user/home.php");
    – random
    Oct 6, 2009 at 11:47

2 Answers 2


Ok this is now fixed; placing comment urls inside a code `` block makes them immune from being link-ified.


Right now, to get the link to show in its entirety within the comments, you'll have to include some Unicode character that has no width, like a zero-width space, that will be taken out by the parser and breaks the URL at the same time.

header("Location: http://‏​www.example.com/user/home.php");

Which kind of looks like this:

header("Location: http://<hidden unicode>www.example.com/user/home.php");

Anybody with over 100 pastalicious rep points can just hit the edit and see what's being hidden in the "broken" URL for the comment.

To type the zero-width space: ALT + 8207 (This may not work on all systems. See a detailed description for Windows here.)

  • ALT + 8207 got me a beautiful ☼
    – perbert
    Oct 6, 2009 at 18:27
  • @smeagol What keyboard are you using?
    – random
    Oct 6, 2009 at 23:48
  • @random: a beautiful Generic brand, Spanish distribution, 101 or 102 Compatible keyboard in Spanish setting on Windows 2000. This happens regardless of the set Language. I'm getting the feeling that it has something to do with the system really working with latin-1 instead of Unicode.
    – perbert
    Oct 7, 2009 at 12:52
  • I also got a ☼.
    – mmyers
    Oct 7, 2009 at 17:20
  • What is the latin version of the zero-width space?
    – random
    Oct 8, 2009 at 1:57

You must log in to answer this question.

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