What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 127 Stack Exchange communities.

I've seen a number of reports of special characters breaking links, some of which seem to get fixes, others seem to be tagged "status-by-design". I didn't see any indicating that the $ sign wasn't working so I thought I'd report it. I tried to link to:

http://c2.com/cgi/wiki$?VirtualPairProgramming

But the link does not appear as a link either in the editor or in the completed question. I fixed it by using TinyURL to proxy the link and pasting in the TinyURL.

share|improve this question
add comment

2 Answers

up vote 8 down vote accepted

See if you can safely remove the dollar sign ($)

http://c2.com/cgi/wiki?VirtualPairProgramming

The dollar sign is a special character (and apparently hasn't been taken in with the automatic SO linkifier).

If you wanted (or could be bothered) you can also encode to its hex equivalent (%24):

http://c2.com/cgi/wiki%24?VirtualPairProgramming

share|improve this answer
    
Never even occurred to me to remove it. I'd been hit with something similar before so I immediately went to my fallback of TinyURL. –  tvanfosson Dec 9 '09 at 16:10
add comment

Must be escaped; nice that it happens to be optional in this case.

Edit: Note that as of recently, problem characters will automatically be escaped when entering a link via the button (or Ctrl-L).

share|improve this answer
3  
The RFC for URLs says that this character is one that does NOT need to be escaped, like the character used for escaping, or pluses. Therefore, breaking your URL parsing on a dollar sign is a bug. ietf.org/rfc/rfc1738.txt –  Dan Grossman Feb 3 '11 at 9:38
    
@DanGrossman: This has nothing to do with RFC. We're talking about auto -recognizing links in text; you need some trade-offs there. –  balpha Mar 11 '11 at 14:00
    
Is there any way we could parse all questions for links, and automatically escape the $? I came across this in another post again, and removing the $ is not a working solution, although it looks like escaping it manually does work (in the browser URL field that is, didn't make the change to the question). –  onaclov2000 Nov 26 '13 at 15:40
add comment

You must log in to answer this question.

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