The following patch adds a countermeasure to prevent spam on the guestbook.

It provides two checks:

1. Checks the referrer URL and does not accept posts from other sites.

2. Using a random number stored in the session and placed in the form using javascript. This requires that the browser has both cookies and javascript running - which is enough to stop many spam bots.

CommentFileSizeAuthor
guestbook.anti-spam.1.patch2.81 KBmattconnolly

Comments

sun’s picture

Status: Needs review » Closed (won't fix)

We have several other anti-spam solutions in contrib already. Guestbook will not add another half-baked one to this list.