TitleSpamFilter not returning cause of rejection
Date04-Sep-2006 22:45:38 EEST
SubmitterT. Steichen
Bug criticalityMediumBug
Browser versionFirefox 1.5
Bug statusClosedBug
PageProvider usedJDBCPageProvider
Servlet ContainerTomcat 5.5.17
Operating SystemWindows XP
Java version1.5

When SpamFilter is active and a user enters a banned term, the save is aborted, and the RejectedMessage page is served. However, the $msg varb isn't instantiated, so the reason shown is blank.

However, if you invoke the wiki.textToHTML() conversion routine directly, and catch the exception, the proper message will be displayed by e.getMessage().

The problem seems that this message is not getting saved as the JSPWiki varb "msg".

Fixed in 2.4.45

I'm using the latest CVS (2.4.48+) and the bug remains. I'm not using all the newest JSP's - is there some dependency that goes outside the java/jar files? -Terry

Yes, the fix is in Edit.jsp. You should always refresh the top-level JSP files as well.

-- JanneJalkanen

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-5) was last changed on 06-Sep-2006 22:23 by JanneJalkanen