From 4429d6269252a329fa579e19ff1a32ce694a5a4d Mon Sep 17 00:00:00 2001 From: Benjamin Kellermann Date: Mon, 7 Jan 2019 21:45:08 +0100 Subject: proper output encoding of poll title --- index.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.cgi') diff --git a/index.cgi b/index.cgi index b96a358..05a17b3 100755 --- a/index.cgi +++ b/index.cgi @@ -60,7 +60,7 @@ if $cgi.include?("create_poll") && $cgi.include?("poll_url") File.open(f,"w").close VCS.add(f) } - Poll.new(CGI.escapeHTML(polltitle),$cgi["poll_type"]) + Poll.new(polltitle,$cgi["poll_type"]) Dir.chdir("..") $d.html.header["status"] = "REDIRECT" $d.html.header["Cache-Control"] = "no-cache" -- cgit v1.2.3