Updated commentrss to 6.x-1.1 from 6.x-1.0 and the site-wide comment feed /crss did not work anymore, resulting in page not found error.
The following line in commentrss_handler causes the problem:
if (strlen($type) && variable_get('commentrss_'. $type, $default))
For /crss feed, $type is '' and strlen() returns 0.
I fixed it for my site with the following change:
85c85,88
< if (strlen($type) && variable_get('commentrss_'. $type, $default)) {
---
> if (!strlen($type)) {
> $type = 'site';
> }
> if (variable_get('commentrss_'. $type, $default)) {
Comments
Comment #1
filiptc commentedIssue confirmed, patch works.
Comment #2
filiptc commentedUpdating status.
Comment #3
toemaz commentedConfirming that the patch works.
A way to avoid the problem, use: crss/site instead of crss for the path.
Comment #4
gábor hojtsyCommitted a slightly different version, will be released soon. Thanks!
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.