aboutsummaryrefslogtreecommitdiff
path: root/config_sample.rb
diff options
context:
space:
mode:
authorBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2019-01-07 22:03:42 +0100
committerBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2019-01-07 22:03:42 +0100
commit89afd0a64110710c135b558614cdd755a181349b (patch)
treefa7a3be955e2abea55cf77161189080258db90ee /config_sample.rb
parent4429d6269252a329fa579e19ff1a32ce694a5a4d (diff)
code refactoring: better output encoding
Diffstat (limited to 'config_sample.rb')
-rw-r--r--config_sample.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config_sample.rb b/config_sample.rb
index 0000e15..833bcab 100644
--- a/config_sample.rb
+++ b/config_sample.rb
@@ -76,7 +76,7 @@
#}.reverse.collect{|f| f.gsub(/\/data\.yaml$/,'') }.each{|site|
# $conf.indexnotice += <<INDEXNOTICE
#<tr class='participantrow'>
-# <td class='polls'><a href='./#{CGI.escapeHTML(site).gsub("'","%27")}/'>#{CGI.escapeHTML(site)}</a></td>
+# <td class='polls'><a href='./#{CGI.escape(site)}/'>#{CGI.escapeHTML(site)}</a></td>
# <td class='mtime'>#{File.new(site + "/data.yaml").mtime.strftime('%d.%m, %H:%M')}</td>
#</tr>
#INDEXNOTICE