Index: openacs-4/packages/general-comments/www/comment-add-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/general-comments/www/comment-add-2.tcl,v diff -u -r1.8 -r1.9 --- openacs-4/packages/general-comments/www/comment-add-2.tcl 7 Aug 2017 23:48:12 -0000 1.8 +++ openacs-4/packages/general-comments/www/comment-add-2.tcl 3 Sep 2024 15:37:39 -0000 1.9 @@ -10,9 +10,9 @@ } { object_id:naturalnum,notnull { object_name "[acs_object_name $object_id]" } - title:notnull - content:html,notnull - comment_mime_type:notnull + title:notnull,printable,string_length(max|200) + content:html,notnull,general_comments_safe + comment_mime_type:oneof(text/plain|text/html),notnull { context_id:naturalnum "$object_id" } { category {} } { return_url:localurl {} }