From a89437b3c168e6d5f38b8e577f31ea89f5c9c8d0 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Thu, 15 Jan 2009 21:44:39 +0000 Subject: 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/tinydns/trunk@1678 ab2d0c66-481e-0410-8bed-d214d4d58bed --- tinydns-config-html.lsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tinydns-config-html.lsp') diff --git a/tinydns-config-html.lsp b/tinydns-config-html.lsp index 1193b65..9f10a4c 100755 --- a/tinydns-config-html.lsp +++ b/tinydns-config-html.lsp @@ -15,7 +15,7 @@ io.write("") viewlibrary.dispatch_component("status") end %> -

<%= form.label %>

+

<%= html.html_escape(form.label) %>

<% form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action displayform(form) -- cgit v1.2.3