Possible Duplicate:
Links to URLs containing parentheses

Notice that only the last link is functional.



^ SO's URI regex fails to count the close paren as part of the URL.

Using the Hyperlink WYSIWYG button:


[1]: http://dbpedia.org/page/D_%28programming_language%29

^ The WYSIWYG button tries to url encode the link, when it's already perfectly fine.

Fixing the footnote after using the WYSIWYG button: [http://dbpedia.org/page/D_(programming_language)][2]

[2]: http://dbpedia.org/page/D_(programming_language)

^ Finally! A functional link. But it requires so much effort to make; most SO users won't even notice that their links aren't functional.

  • 2
    What is your problem with an encoded link? It is perfectly valid to encode the link. – Zoredache Oct 17 '12 at 16:42
  • @Zoredache, If you click on the link, it doesn't actually work. Dbpedia / Stack Overflow / Chrome / Mac OS X 10.8.2 – mcandre Oct 18 '12 at 0:31
  • Sorry, didn't notice that. That points to a bug in the dbpedia CMS in my opinion. Seems like Dbpedia should be accepting a urlencoded links. I am almost certain wikipedia accepts them. – Zoredache Oct 18 '12 at 0:41
  • @Zoredache, Hmm, I plugged http://dbpedia.org/page/D_%28programming_language%29 into a basic url decoder and it seems to be standard stuff. I'll report this bug on dbpedia. – mcandre Oct 18 '12 at 1:17
  • 1
    You can also escape the parentheses with backslashes: http://dbpedia.org/page/D_\(programming_language\) – hammar Oct 18 '12 at 1:43

Browse other questions tagged .