Perhaps this isn't a bug but I found an answer that had a link inline (i.e. not inserted with markup) which Stack Overflow linked to the wrong page. The reason: there is an apostrophe in the middle of the address! The answer is located here: http://stackoverflow.com/posts/7655979/revisionshttps://stackoverflow.com/posts/7655979/revisions (see revision 3, I've edited the link to go to the correct location).
So is this a Stack Overflow bug that it incorrectly determines the link, or are links with apostrophes in them inherently ambiguous so there's no good solution? (Also, I guess the answer might be "it is a bug, but a markup one not SOs".