[PATCH] I am not a spammer!

Marc Mutz Marc.Mutz at uni-bielefeld.de
Sun May 26 16:25:40 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

This fixes the spam detection to accept headers that use HT instead of 
SP for folding.

Sent to coolo, got no reply.

Can someone with Karma please commit?

Index: receive.in
===================================================================
RCS file: /home/kde/bugs/scripts/receive.in,v
retrieving revision 1.12
diff -u -3 -p -r1.12 receive.in
- --- receive.in  2002/02/19 19:53:19     1.12
+++ receive.in  2002/05/26 15:24:05
@@ -82,7 +82,7 @@ $imposter=0;
 $lines=0;
 while(<STDIN>) {
    print(FILE) || &failure("write temporary file: $!");
- -   if (/^ /) { } else { $lastline=$_; }
+   if (/^\s/) { } else { $lastline=$_; }
    if (/\@bugs.kde.org/) {
       $_=$lastline;
       if (/^To:/i) { $spam=0; }


Marc

- -- 
Marc Mutz <mutz at kde.org>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE88P503oWD+L2/6DgRAqBrAKDZI/gMwU6vLvDeJBxOLB/OTOLsdgCgoBJB
DHjCa6pH9soDlk5we3Cz8po=
=9asB
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list