summaryrefslogtreecommitdiffstats
path: root/openntpd-config-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2009-01-15 21:44:39 +0000
committerTed Trask <ttrask01@yahoo.com>2009-01-15 21:44:39 +0000
commit021d8e0943124418804973e04172435f4cc101d9 (patch)
tree48ac0f6337ebce6ff8d6fcee7a507209035c1723 /openntpd-config-html.lsp
parentacca38ff8d4f52d4e28fed68f8c88618d9e036d3 (diff)
downloadacf-openntpd-021d8e0943124418804973e04172435f4cc101d9.tar.bz2
acf-openntpd-021d8e0943124418804973e04172435f4cc101d9.tar.xz
Modified html.lua and viewlibrary.lua and all html files to html_escape variables before displaying them.
git-svn-id: svn://svn.alpinelinux.org/acf/openntpd/trunk@1678 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'openntpd-config-html.lsp')
-rw-r--r--openntpd-config-html.lsp2
1 files changed, 1 insertions, 1 deletions
diff --git a/openntpd-config-html.lsp b/openntpd-config-html.lsp
index 72ba5b6..3c03dc1 100644
--- a/openntpd-config-html.lsp
+++ b/openntpd-config-html.lsp
@@ -15,7 +15,7 @@ io.write("</span>")
viewlibrary.dispatch_component("status")
end %>
-<H1><%= form.label %></H1>
+<H1><%= html.html_escape(form.label) %></H1>
<%
form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action
local order = { "setstimeonstartup", "listen", "server", "servers" }