aboutsummaryrefslogtreecommitdiffstats
path: root/blogthon.cgi
diff options
context:
space:
mode:
authorStefan Ritter <xeno@thehappy.de>2009-04-26 01:07:02 +0200
committerStefan Ritter <xeno@thehappy.de>2009-04-26 01:07:02 +0200
commita0969526f9cecc60f964ffc2a6ff0e91be5ebbd3 (patch)
tree05e40722cd0e525e114f9b9ffe42f10225dc912b /blogthon.cgi
parentf51dc890be3487c15727c82dd6e036bd82236e27 (diff)
Spam avoidance:
* Added a blacklist
Diffstat (limited to 'blogthon.cgi')
-rwxr-xr-xblogthon.cgi2
1 files changed, 2 insertions, 0 deletions
diff --git a/blogthon.cgi b/blogthon.cgi
index 3872c7f..14dafdb 100755
--- a/blogthon.cgi
+++ b/blogthon.cgi
@@ -99,6 +99,8 @@ if cname and ctext and ctitle:
.replace(">", "&gt;") \
.replace("\"", "&quot;")
+ # TODO: Read file with spam words
+
# Add comment
comments_file = glob.glob(entries_dir + ctitle + '.comments')
if not comments_file: