From 789ef3730bf039e4da4a7ad31c0b28309dda434d Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Wed, 26 Mar 2014 19:53:53 +0100 Subject: [PATCH] Adds missing message validation when adding comment response --- wcfsetup/install/files/lib/data/comment/CommentAction.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wcfsetup/install/files/lib/data/comment/CommentAction.class.php b/wcfsetup/install/files/lib/data/comment/CommentAction.class.php index 7a19525f38..44f156920d 100644 --- a/wcfsetup/install/files/lib/data/comment/CommentAction.class.php +++ b/wcfsetup/install/files/lib/data/comment/CommentAction.class.php @@ -222,6 +222,7 @@ class CommentAction extends AbstractDatabaseObjectAction { CommentHandler::enforceFloodControl(); $this->readInteger('objectID', false, 'data'); + $this->validateMessage(); // validate comment id $this->validateCommentID(); -- 2.20.1