[fixed] Bug in the category-custom-permalinks in s9y 0.9 SVN
Posted: Sat Jun 25, 2005 12:36 pm
I've just included (full?) custom-permalink to the google-sitemap-plugin and it seems that I discovered a Bug.
When using this Permalink Category URL structure:
the %year% and %month% are not replaced properly by s9y, so I get a link like
which results in a HTTP-"Bad Request".
P.S.: The version I used was received from SVN about an hour ago.
EDIT: The %username% seems to be interpreded as %realname% too:results in
although the username is Boris.
I think the second bug is in line 638 of functions_entries.inc.php where the key 'username' gets the value of $entry['author'] too.
When using this Permalink Category URL structure:
Code: Select all
categories/%year%/%month%/%id%-%name%/%description%.htmlCode: Select all
http://localhost/~boris/trunk/categories/%year%/%month%/1-test/desc.htmlP.S.: The version I used was received from SVN about an hour ago.
EDIT: The %username% seems to be interpreded as %realname% too:
Code: Select all
authors/%username%-%realname%Code: Select all
http://localhost/~boris/trunk/authors/Realname-RealnameI think the second bug is in line 638 of functions_entries.inc.php where the key 'username' gets the value of $entry['author'] too.