Changes between Version 3 and Version 4 of InputfieldTrapPlugin
- Timestamp:
- Apr 9, 2015, 10:24:23 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InputfieldTrapPlugin
v3 v4 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 2 3 = Inputfield spam-trap =3 = Inputfield spam-trap 4 4 5 == Description ==5 == Description 6 6 7 A tiny plugin that only inserts a hidden input field named keepempty. Bots usually won't keep it empty, and thus we can block any such spam attempts immediately. Real users will want refrain from filling in the hidden input field named keepempty. Should be easy. 8 As should this plugin be. Assuming it is bug free, that is. Please check for yourself, the code is tiny. 7 A plugin that only inserts a hidden input field named `keepempty`. This will achieve the following: 8 * Bots usually won't keep the `keepempty` field empty, and thus we can block any such spam attempts immediately. 9 * Real users will want refrain from filling in the hidden input field named keepempty. 9 10 10 Currently blocks stupid bots from submitting new tickets ,editing the wiki.11 Currently blocks stupid bots from submitting new tickets or editing the wiki. 11 12 12 13 In more detail, you can see the plugin is working if your wiki and ticket forms contain the following: 13 14 14 <div><input type="hidden" name="keepempty" value="" /></div> 15 {{{ 16 <div><input type="hidden" name="keepempty" value="" /></div> 17 }}} 15 18 16 As well as that you probably stopped getting comment spam right after installing the input field trap. Note, this spam prevention is meant to stop collateral spamming from bots that spam anything that has a postable <form>.19 As a result you probably will not get comment spam right after installing the input field trap. This spam prevention is meant to stop collateral spamming from bots that spam anything that has a postable <form>. 17 20 18 == Bugs/Feature Requests ==21 == Bugs/Feature Requests 19 22 20 23 Existing bugs and feature requests for InputfieldTrapPlugin are … … 24 27 [http://trac-hacks.org/newticket?component=InputfieldTrapPlugin&owner=sesam new ticket]. 25 28 26 == Download == 29 [[TicketQuery(component=InputfieldTrapPlugin&group=type,format=progress)]] 30 31 == Download 27 32 28 33 Download the zipped source from [download:inputfieldtrapplugin here]. 29 34 30 == Source ==35 == Source 31 36 32 37 You can check out InputfieldTrapPlugin from [http://trac-hacks.org/svn/inputfieldtrapplugin here] using Subversion, or [source:inputfieldtrapplugin browse the source] with Trac. 33 38 34 == Example ==39 == Example 35 40 36 Non-logged in users who fill anything in the robot trap hidden input field get blocked. Applies towiki pages and ticket submission.41 Anonymous users who fill anything in the robot trap hidden input field get blocked. This feature applies to both wiki pages and ticket submission. 37 42 38 == Recent Changes ==43 == Recent Changes 39 44 40 45 [[ChangeLog(inputfieldtrapplugin, 3)]] 41 46 42 == Author/Contributors ==47 == Author/Contributors 43 48 44 49 '''Author:''' [wiki:sesam] [[BR]] 45 '''Maintainer:''' [ wiki:sesam] [[BR]]50 '''Maintainer:''' [[Maintainer]] [[BR]] 46 51 '''Contributors:'''