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.
| Comment | File | Size | Author |
|---|---|---|---|
| guestbook.anti-spam.1.patch | 2.81 KB | mattconnolly |
Comments
Comment #1
sunWe have several other anti-spam solutions in contrib already. Guestbook will not add another half-baked one to this list.