Email, Author and Homepage are not validated when submitting a comment. For websites with anonymous commenting, this makes it easier to spam comments. Maybe it is even a security issue.
Could we just port the validation from comment.module or do we need a special treatment?

CommentFileSizeAuthor
#4 nodecomment_793614.patch2.37 KBcrea
#1 nodecomment_793614.patch2.31 KBcrea

Comments

crea’s picture

Status: Active » Needs review
StatusFileSize
new2.31 KB

Please try this patch. Basically it uses same validation as comment module.

Narretz’s picture

Status: Needs review » Reviewed & tested by the community

Thx crea. Validation works as expected. Ready to commit from my perspective.

crea’s picture

Title: Comment form is not validated » Comment form validation.
crea’s picture

Status: Reviewed & tested by the community » Needs review
StatusFileSize
new2.37 KB

Updated patch which includes a fix for #343420: All fields required for Anonymous Posters

crea’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.