summaryrefslogtreecommitdiffstats
path: root/new_comment.cgi
diff options
context:
space:
mode:
authortara%tequilarista.org <>2000-07-28 05:10:16 +0200
committertara%tequilarista.org <>2000-07-28 05:10:16 +0200
commit09607b481dc69b2c88948f9ead832871fbb4c16c (patch)
tree68037161567760e9a175a949f481cea3ae80370a /new_comment.cgi
parente79e71c772f36951201db873c8783e7653177c0d (diff)
downloadbugzilla-09607b481dc69b2c88948f9ead832871fbb4c16c.tar.gz
bugzilla-09607b481dc69b2c88948f9ead832871fbb4c16c.tar.xz
Turning off tag support in quips because some assholes have nothing better do than fuck with my tool
Diffstat (limited to 'new_comment.cgi')
-rwxr-xr-xnew_comment.cgi7
1 files changed, 7 insertions, 0 deletions
diff --git a/new_comment.cgi b/new_comment.cgi
index e034f3587..d504c0597 100755
--- a/new_comment.cgi
+++ b/new_comment.cgi
@@ -42,6 +42,13 @@ if ( (!defined $c) || ($c eq '') ) {
print "<H2> Hit back, and try again...</H2>";
exit 0;
}
+if ($c =~ m/</) {
+ print "Content-type: text/html\n\n";
+ print "<CENTER><H1>For security reasons, support for tags";
+ print " has been turned off in quips.\n</H1>\n";
+ print "<H2> Hit back, and try again...</H2></CENTER>\n";
+ exit 0;
+}
open(COMMENTS, ">>data/comments");
print COMMENTS $FORM{"comment"} . "\n";