Hi,

Found that there are problems with dead links in add/delete buddies when the username is in a comment poster or article author links. It mostly happens when the username ends with a digit.

(<a href="/buddy/delete/12?destination=node%2F5292">Remove <em>Dev3</em> from my buddy list</a>) 
(<a href="/buddy/delete/1325?destination=node%2F5292">Remove <em>test6</em> from my buddy list</a>)

Comments

robertdouglass’s picture

Version: 4.6.x-1.x-dev » 4.7.x-1.x-dev

Make sure you set the version right when creating issues... you had this marked as 4.6.

This is clearly a bug that has come from the removal of the base tag in themes. Thanks for finding it. It will be some time before I get around to fixing it, but what needs to happen is that the href part of the links needs to be an absolute URL. Instead of /buddy/delete/12, it needs to be http://www.yoursite.com/buddy/delete/12. This is done by getting the global $base_url and adding it at the point when these links are produced.

deepak.sathya’s picture

Sorry for that, as uasual a noob trying to report with all exitement :)

Since i know the problem now, will try it out in a few days and get back if i hit any luck.

robertdouglass’s picture

Status: Active » Fixed

Can't recreate. Please confirm that this is still a bug in the latest 4-7 release and then reopen the status.

Anonymous’s picture

Status: Fixed » Closed (fixed)