blob: 3f665f8eafa42ac9cef8730b0b2268aa984c120f [file] [log] [blame]
#!/usr/bin/perl -wT
use strict;
use CGI;
my $cgi = new CGI;
print "X-XSS-Protection: 1\n";
print "Content-Type: text/html; charset=UTF-8\n\n";
print "<!DOCTYPE html>\n";
print "<html>\n";
print "<body foo=\"";
print $cgi->param('q');
if ($cgi->param('clutter')) {
print $cgi->param('clutter');
}
print "\">\n";
print "<script>var y = 123;</script>";
print "</body>\n";
print "</html>\n";