Hi, here is an example :


see comment.


2 Answers 2


I doubt we'll get this fixed, but you can resolve it yourself by URL encoding ( and ) as %28 and %29. Since one of these bugs gets posted every two to three days, here's a simple rule of thumb:

Any characters in your URL other than A-Z, a-z, 0-9, and /.=?-+%&* (and the : in "http:") should probably be URL encoded.

I've cobbled together a quick page that will encode the things that shouldn't need encoding. You can find it here. It doesn't use any jQuery, so it's probably completely unreliable. If you find anything it should be encoding but isn't, let me know.

  • 1
    I'm sorry, but I feel lazy doing myself what the machine can do for me.
    – user133460
    Aug 13, 2009 at 10:24
  • The machine will do it for you at the link I've provided. Jeff has said that neither the Javascript nor server-side renderer is maintained by the SO team, so it's probably your best bet. Aug 13, 2009 at 12:40
  • Parentheses can't be escaped in anchor links, though. Try google-collections.googlecode.com/svn/trunk/javadoc/com/google/… and it won't get you to the exact method. (I think parentheses aren't allowed in anchors by the standard, which could explain this behavior.)
    – mmyers
    Aug 13, 2009 at 15:51
  • I should note that I've only tested this on IE7, though.
    – mmyers
    Aug 13, 2009 at 15:52
  • It works fine in Firefox. Aug 13, 2009 at 17:19

Parens at the end are highly problematic because users looooove to enter URLs like this (http://www.example.com) but other than that, it should work now, as long as you encode any spaces.

  • 1
    OMG! The Jeff Atwood spoke to me ! I want a badge for that ! :) Yes, I though that was the reason, I'm used to add a space before the closing parenthesis but I can hardly blame people who don't. What about trying to balance the parenthesis in the url ? Or trying to ping the url with various interpretations until it stop giving a 404 ?
    – user133460
    Aug 15, 2009 at 11:56
  • +1 @nraynaud for balancing parentheses.
    – outis
    Apr 16, 2010 at 4:06

You must log in to answer this question.