ant wrote:Yes, turning On UBBcode it works, but we don't want it on. Where to apply the patch?
The patch should be applied to components/com_comment/joscomment/comment.class.php.
For those unfamiliar with the unified diff format and must modify the code manually:
1. the lines prefixed with '+' are to be added (don't add the '+' prefix!)
2. the lines prefixed with '-' are to be removed
To be really truthful, I didn't actually test whether the patch properly limits post sizes, so don't hit me if it doesn't work. I wrote the code primarily to fix the newline problem.