ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Limit search characters to hamper spammers?

March 04, 2011 4:47pm

Subscribe [3]
  • #1 / Mar 04, 2011 4:47pm

    sv

    21 posts

    A site I manage running on EE 1.7 has a consistent problem with search spam. I have tried limiting the “maxlength” of the search input field, but the spammers still manage to consistenly get their full garbage URLs (some well over 100 characters) into the search. The maxlength does work for me and other users, but am I missing something?

  • #2 / Mar 05, 2011 2:45pm

    Greg Salt

    3988 posts

    Hi sv,

    Can you tell us a bit more about how this problem is manifesting itself? Are you logging and displaying all site searches?

    Cheers

    Greg

  • #3 / Mar 05, 2011 3:04pm

    sv

    21 posts

    I am seeing the spam in the search log.

  • #4 / Mar 06, 2011 4:36pm

    Greg Salt

    3988 posts

    Hi sv,

    I’m referring this thread to the rest of the team. Thank you for your patience. We’ll respond as soon as we can.

    Cheers

    Greg

  • #5 / Nov 05, 2011 8:29am

    avroo

    164 posts

    I am having the same problem. Lotssss of spam coming in through the search form, and blacklisting doesn’t help.

    Example row from search_log:

    | 893126 |    1 |      0 |        | 178.238.232.244 |  1320492100 | site     | rmtuetlpgufo Capital Online Revenue sxQTvvM url=http://cliffsideweb.com/ make money online /url cmEkoUq http://cliffsideweb.com/ work home JjbroHZ Locksmith Louisiana QisfwtV url=http://247locksmith& |

    And we got hundreds a day :(

    Any idea how to solve this? (EE 1.6.8)

  • #6 / Nov 08, 2011 4:56pm

    Dan Decker

    7338 posts

    Hello avroo,

    Are you seeing this being stored anywhere other than the search log? Is it showing up anywhere else on the site? I don’t know of anyway to block this other than to limit the number of characters in the input field. For example,

    <input type="text" name="keywords" id="keywords" value="" size="18" maxlength=“25">

    Thanks!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases