You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by qu...@apache.org on 2004/05/05 10:59:15 UTC
svn commit: rev 10532 - incubator/spamassassin/trunk/rules
Author: quinlan
Date: Wed May 5 01:59:13 2004
New Revision: 10532
Modified:
incubator/spamassassin/trunk/rules/20_html_tests.cf
incubator/spamassassin/trunk/rules/70_testing.cf
Log:
promote HTML size tests
Modified: incubator/spamassassin/trunk/rules/20_html_tests.cf
==============================================================================
--- incubator/spamassassin/trunk/rules/20_html_tests.cf (original)
+++ incubator/spamassassin/trunk/rules/20_html_tests.cf Wed May 5 01:59:13 2004
@@ -104,11 +104,23 @@
body HTML_EVENT_UNSAFE eval:html_test('html_event_unsafe')
describe HTML_EVENT_UNSAFE HTML contains unsafe auto-executing code
+body HTML_FONT_SIZE_TINY eval:html_eval('min_size', '< 1')
+describe HTML_FONT_SIZE_TINY HTML font size is tiny
+
+body HTML_FONT_SIZE_NONE eval:html_eval('min_size', '< 0')
+describe HTML_FONT_SIZE_NONE HTML font size is negative
+
+body HTML_FONT_SIZE_LARGE eval:html_range('max_size', '5', '6')
+describe HTML_FONT_SIZE_LARGE HTML font size is large
+
+body HTML_FONT_SIZE_HUGE eval:html_range('max_size', '6', 'inf')
+describe HTML_FONT_SIZE_HUGE HTML font size is huge
+
body HTML_FONT_BIG eval:html_test('big_font')
-describe HTML_FONT_BIG HTML has a big font
+describe HTML_FONT_BIG HTML tag for a big font size
body HTML_FONT_TINY eval:html_test('tiny_font')
-describe HTML_FONT_TINY HTML has a tiny font
+describe HTML_FONT_TINY HTML tag for a tiny font size
body HTML_FONT_INVISIBLE eval:html_test('font_invisible')
describe HTML_FONT_INVISIBLE HTML font color is same as background
@@ -122,7 +134,7 @@
body HTML_FONT_FACE_CAPS eval:html_test('font_face_caps')
describe HTML_FONT_FACE_CAPS HTML font face has excess capital characters
-body HTML_FORMACTION_MAILTO eval:html_test('form_action_mailto')
+body HTML_FORMACTION_MAILTO eval:html_test('form_action_mailto')
describe HTML_FORMACTION_MAILTO HTML includes a form which sends mail
# HTML_IMAGE_ONLY - not much raw HTML with images (absolute)
Modified: incubator/spamassassin/trunk/rules/70_testing.cf
==============================================================================
--- incubator/spamassassin/trunk/rules/70_testing.cf (original)
+++ incubator/spamassassin/trunk/rules/70_testing.cf Wed May 5 01:59:13 2004
@@ -40,15 +40,6 @@
# to protect against the possibility?
header T_FRAGMENTED_MESSAGE Content-Type =~ /message\/partial/i
-# some HTML rules to try
-body T_HTML_FONT_SMALL_SIZE_1 eval:html_eval('min_size', '< 1')
-body T_HTML_FONT_SMALL_SIZE_2 eval:html_eval('min_size', '< 0')
-body T_HTML_FONT_SMALL_SIZE_3 eval:html_eval('min_size', '< -1')
-
-# these look pretty good
-body T_HTML_FONT_SIZE_LARGE eval:html_range('max_size', '5', '6')
-body T_HTML_FONT_SIZE_HUGE eval:html_range('max_size', '6', 'inf')
-
########################################################################
# IADB