mraible commented on code in PR #297:
URL: https://github.com/apache/roller/pull/297#discussion_r4592633324


##########
app/src/main/java/org/apache/roller/weblogger/ui/rendering/servlets/CommentServlet.java:
##########
@@ -256,7 +262,8 @@ public void doPost(HttpServletRequest request, 
HttpServletResponse response)
 
         WeblogEntryCommentForm cf = new WeblogEntryCommentForm();
         cf.setData(comment);
-        if (preview) {
+        boolean tooLong = isTooLong(comment.getContent(), maxContentLength);

Review Comment:
   Done in 9b65bb220, the same change as on master: name, email and URL over 
255 characters are refused before preview and validation, with a test and a 
CHANGES note.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to