Author: metskem
Date: Mon Aug 11 12:55:07 2008
New Revision: 684896

URL: http://svn.apache.org/viewvc?rev=684896&view=rev
Log:
 JSPWIKI-319: added extra checking on Attchment Change Notes (reported by 
Sufyan Muhammad)

Modified:
    incubator/jspwiki/trunk/ChangeLog
    incubator/jspwiki/trunk/src/webdocs/templates/default/AttachmentTab.jsp

Modified: incubator/jspwiki/trunk/ChangeLog
URL: 
http://svn.apache.org/viewvc/incubator/jspwiki/trunk/ChangeLog?rev=684896&r1=684895&r2=684896&view=diff
==============================================================================
--- incubator/jspwiki/trunk/ChangeLog (original)
+++ incubator/jspwiki/trunk/ChangeLog Mon Aug 11 12:55:07 2008
@@ -1,3 +1,9 @@
+2008-08-11  Harry Metske <[EMAIL PROTECTED]>
+
+               * no version bump
+        
+        * JSPWIKI-319: added extra checking on Attchment Change Notes
+
 2008-08-10  Harry Metske <[EMAIL PROTECTED]>
 
         * 2.7.0-alpha-9

Modified: 
incubator/jspwiki/trunk/src/webdocs/templates/default/AttachmentTab.jsp
URL: 
http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/webdocs/templates/default/AttachmentTab.jsp?rev=684896&r1=684895&r2=684896&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/webdocs/templates/default/AttachmentTab.jsp 
(original)
+++ incubator/jspwiki/trunk/src/webdocs/templates/default/AttachmentTab.jsp Mon 
Aug 11 12:55:07 2008
@@ -119,7 +119,7 @@
       </wiki:Permission>
       <td class="changenote">
       <%
-         String changeNote = (String)att.getAttribute(WikiPage.CHANGENOTE);
+         String changeNote = 
TextUtil.replaceEntities((String)att.getAttribute(WikiPage.CHANGENOTE));
          if( changeNote != null ) {
          %><%=changeNote%><%
          }


Reply via email to