You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jspwiki.apache.org by me...@apache.org on 2008/08/11 21:55:08 UTC

svn commit: r684896 - in /incubator/jspwiki/trunk: ChangeLog src/webdocs/templates/default/AttachmentTab.jsp

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 <ha...@gmail.com>
+
+		* no version bump
+        
+        * JSPWIKI-319: added extra checking on Attchment Change Notes
+
 2008-08-10  Harry Metske <ha...@gmail.com>
 
         * 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%><%
          }



Re: svn commit: r684896 - in /incubator/jspwiki/trunk: ChangeLog src/webdocs/templates/default/AttachmentTab.jsp

Posted by Janne Jalkanen <Ja...@ecyrd.com>.
As a rule, I think it's safer to bump the version than not to bump  
the version.  Version numbers are cheap :-)

/Janne

On 11 Aug 2008, at 22:55, metskem@apache.org wrote:

> 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 <ha...@gmail.com>
> +
> +		* no version bump
> +
> +        * JSPWIKI-319: added extra checking on Attchment Change Notes
> +
>  2008-08-10  Harry Metske <ha...@gmail.com>
>
>          * 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%><%
>           }
>