If an anonymous user clicks on the the tagedelic link, the link paths returned by taxonomy_user module returns the wrong link.

After some basic investigation, I found that the taxonomy_user_term_path() function appears to not be properly selective when determining whether to use the user's term path (one with taxonomy_user/term/*) as opposed to the general term path (taxonomy/term/*). When the current user is uid 0 and there is no uid specified for a particular term, the wrong term path is created (0 = 0). The offending line is around #496. I made the following change and it appears to work for me. Not sure if there are any other unintended side effects.

if ($term->uid == $user->uid && $term->uid != 0 && $user->uid != 0) {

Comments

pomliane’s picture

Status: Active » Closed (won't fix)

This version of Taxonomy User is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.

This issue has been automagically closed by a script.