|Title|SpamFilter not returning cause of rejection
|Date|04-Sep-2006 22:45:38 EEST
|Version|2.4.38
|Submitter|T. Steichen
|[Bug criticality]|MediumBug
|Browser version|Firefox 1.5
|[Bug status]|ClosedBug
|[PageProvider] used|JDBCPageProvider
|Servlet Container|Tomcat 5.5.17
|Operating System|Windows XP
|URL|All
|Java version|1.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