diff options
author | tara%tequilarista.org <> | 2000-07-28 05:10:16 +0200 |
---|---|---|
committer | tara%tequilarista.org <> | 2000-07-28 05:10:16 +0200 |
commit | 09607b481dc69b2c88948f9ead832871fbb4c16c (patch) | |
tree | 68037161567760e9a175a949f481cea3ae80370a | |
parent | e79e71c772f36951201db873c8783e7653177c0d (diff) | |
download | bugzilla-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
-rwxr-xr-x | new_comment.cgi | 7 |
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"; |