Title | AuthorTag does not link user page correctly |
Date | 24-Aug-2006 16:44:08 EEST |
Version | 2.4.37 |
Submitter | Candid Dauth |
Bug criticality | LightBug |
Browser version | * |
Bug status | ClosedBug |
PageProvider used | VersioningFileProvider |
Servlet Container | tomcat-5.5 |
Operating System | GNU/Linux |
URL | |
Java version | sun-jdk1.5.0_07 |
I don't know if this is a bug in AuthorTag or in WikiEngine.pageExists(), at least one of them is not acting as it should. If I have a username that consists of lower case letters, AuthorTag doesn't link my user page even if it exists, because WikiEngine.pageExists() (called at line 52 in AuthorTag.java) returns false. Passing the author name through MarkupParser.cleanLink() fixes the problem.
Same problem in RecentChangesPlugin.java:160. Just saw BugLoginLowercaseUsernameCreatedHomepageIsCapitalizedRecentChangesDoesNotLinkup, don't know if it's exactly the same problem.
Yes, it is the same problem...
Bug closed, duplicate..
Add new attachment
Only authorized users are allowed to upload new attachments.