From 1a096c96c20933884fb1a22704d75df0ed8a306f Mon Sep 17 00:00:00 2001 From: Benjamin Kellermann Date: Tue, 20 Jul 2010 08:51:38 +0200 Subject: Care about possible other ports and protocol --- index.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.cgi') diff --git a/index.cgi b/index.cgi index c6b3bfb..5585f67 100755 --- a/index.cgi +++ b/index.cgi @@ -70,7 +70,7 @@ if $cgi.include?("create_poll") && $cgi.include?("poll_url") Dir.chdir("..") $d.html.header["status"] = "REDIRECT" $d.html.header["Cache-Control"] = "no-cache" - $d.html.header["Location"] = SITEURL + POLLURL+ "/edit_columns.cgi" + $d.html.header["Location"] = SITEURL + POLLURL + "/edit_columns.cgi" $d << _("The poll was created successfully. The link to your new poll is: %{link}") % {:link => "
#{POLLURL}"} end end -- cgit v1.2.3