Closed (fixed)
Project:
Buddylist
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Apr 2006 at 04:37 UTC
Updated:
20 May 2006 at 12:15 UTC
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
Comment #1
robertdouglass commentedMake 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.
Comment #2
deepak.sathya commentedSorry 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.
Comment #3
robertdouglass commentedCan't recreate. Please confirm that this is still a bug in the latest 4-7 release and then reopen the status.
Comment #4
(not verified) commented