You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jspwiki.apache.org by al...@apache.org on 2026/08/05 23:39:08 UTC

(jspwiki) 01/01: JSPWIKI-1274 fix for 2.x

This is an automated email from the ASF dual-hosted git repository.

spyhunter99 pushed a commit to branch bug/JSPWIKI-1274-v2x
in repository https://gitbox.apache.org/repos/asf/jspwiki.git

commit defa57f0e59df4c86579cbb4a05a6903a4bad5f1
Author: Alex O'Ree <al...@apache.org>
AuthorDate: Wed Aug 5 19:38:54 2026 -0400

    JSPWIKI-1274 fix for 2.x
---
 jspwiki-war/src/main/webapp/Edit.jsp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/jspwiki-war/src/main/webapp/Edit.jsp b/jspwiki-war/src/main/webapp/Edit.jsp
index cfa59e8c3..adfb3ba8e 100644
--- a/jspwiki-war/src/main/webapp/Edit.jsp
+++ b/jspwiki-war/src/main/webapp/Edit.jsp
@@ -74,7 +74,7 @@
     String append  = request.getParameter("append");
     String edit    = request.getParameter("edit");
     String author  = TextUtil.replaceEntities( findParam( pageContext, "author" ) );
-    String changenote = findParam( pageContext, "changenote" );
+    String changenote = TextUtil.replaceEntities( findParam( pageContext, "changenote" ) );
     String text    = EditorManager.getEditedText( pageContext );
     String link    = TextUtil.replaceEntities( findParam( pageContext, "link") );
     String spamhash = findParam( pageContext, SpamFilter.getHashFieldName(request) );