[geeklog-devel] Spam, spam, bacon, eggs, and spam
Tom Willett
tomw at pigstye.net
Thu Feb 10 09:57:43 EST 2005
On 2/10/2005 9:30 AM, Tony Bibbs wrote:
> Makes me wonder if we shouldn't have a mailing list for developer-only
> spam discussions where strategy and stuff can be discuss less openly.
> Just a thought.
>
> --Tony
>
> Tom Willett wrote:
>
>> On 2/9/2005 4:14 PM, Dirk Haun wrote:
>>
>>> Our special "friend" continues to flood geeklog.info with trackback
>>> spam.
>>> A few of them went through since he now also seems to start using HTML
>>> entities to obfuscate his posts:
>>>
>>>
>>>
>>>> online poker</a> von
>>>> &
>>>> #111;nline poker<br>
>>>> Please visit some information in the field of online
>>>> poker poker party poker
>>>>
>>>
>>>
>>> Tom, would you consider this a feature request? ;-)
>>>
>>>
>>>
>> Its actually pretty easy to get around this. A minor change will
>> need to be made in three files:
>>
>> All current cvs:
>>
>> Blacklist.Examine.class.php
>> Change line 44 from
>> if (preg_match("#$val#", $comment)) {
>> to
>> if (preg_match("#$val#", html_entity_decode($comment))) {
>>
>> IPofUrl.Examine.class.php
>> change line 41 from
>> $num = preg_match_all("#{$regx}#",$comment,$urls);
>> to
>> $num = preg_match_all("#{$regx}#",html_entity_decode($comment),$urls);
>>
>> MTBlackList.Examine.class.php
>> change line 47 from
>> if (@preg_match("#$val#", $comment)) {
>> to
>> if (@preg_match("#$val#", html_entity_decode($comment))) {
>>
>> --
>>
>> Tom Willett
>> tomw at pigstye.net
>>
>>
>
> _______________________________________________
> geeklog-devel mailing list
> geeklog-devel at lists.geeklog.net
> http://lists.geeklog.net/listinfo/geeklog-devel
Would it make any difference if cvs is publically available?
--
Tom Willett
tomw at pigstye.net
More information about the geeklog-devel
mailing list