I mean the link that appears in "Posted by XXX in Category YYY", the link in Category YYY is wrong because it doesn't add the required ?/ (instead it remains http://localhost/categories/1_Reminders, should be http://localhost/index.php?/categories/1_Reminders)
I took a look at the CVS and the bug is still there, i think it's line 777 in the CVS version, here goes the fix:
Code: Select all
Replace:
echo ' ' . POSTED_BY . ' ' . htmlentities($entry['username']) . ($entry['category_name'] ? ' ' . IN . ' <a href="' . $serendipity['serendipityHTTPPath'] . ($serendipity['rewrite'] == 'true' ? $serendipity['indexFile'] . '?/' : '') . 'categories/' . $entry['categoryid'] . '_' . serendipity_makeFilename($entry['category_name']) . '">' . $entry['category_name'] . '</a> ' : ' ') . AT . ' <a href="' . $entryLink . '">' . date('H:i', $entry['timestamp']) . '</a>'. "\n";
Replace to
echo ' ' . POSTED_BY . ' ' . htmlentities($entry['username']) . ($entry['category_name'] ? ' ' . IN . ' <a href="' . $serendipity['serendipityHTTPPath'] . ($serendipity['rewrite'] == 'none' ? $serendipity['indexFile'] . '?/' : '') . 'categories/' . $entry['categoryid'] . '_' . serendipity_makeFilename($entry['category_name']) . '">' . $entry['category_name'] . '</a> ' : ' ') . AT . ' <a href="' . $entryLink . '">' . date('H:i', $entry['timestamp']) . '</a>'. "\n";
I don't know if this is the right place to post bug fixes, so if it's not, sorry. I also don't know how to use CVS or if it's possible to commit this directly to the CVS, but i guess someone will do it