Message Text |
I discovered a bug in rssfeed.php for WSNLinks 3.3.8.
If you use the "usedetails=1" parameter, ampersands in the link element get replaced up to 3 times.
First, in this line & is used instead of &:
if ($usedetails) $linkstuff = $settings->dirurl .'/link.php?action=detail&id='. $thisone->id;
Then, I think the real ampersand might be getting replaced with & on this line:
$linkstuff = htmlspecialchars(decodeit($linkstuff));
Finally, another replacement is done on this line near the end:
$thisgroup = str_replace('{THELINK}', str_replace('&', '&', $linkstuff), $thisgroup);
I decided to change & to & in the first instance, then removed the replace function in the third instance and things seem to work again. However, I am just listing links in my feed and none of the other types (categories, members, comments, etc.) so I would imagine some work may need to be done for them as well. |