diff options
author | Ted Trask <ttrask01@yahoo.com> | 2009-01-15 21:44:39 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2009-01-15 21:44:39 +0000 |
commit | 61131a0d088c5fd27e99291714903050ddb0d41a (patch) | |
tree | e79f7d51e9a7814091aa8ec526d0d6e72e978b20 /dhcp-settings-html.lsp | |
parent | 168d1ee9a8eaf3142e76e4e8b04cc39b5b1769c3 (diff) | |
download | acf-dhcp-61131a0d088c5fd27e99291714903050ddb0d41a.tar.bz2 acf-dhcp-61131a0d088c5fd27e99291714903050ddb0d41a.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/dhcp/trunk@1678 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'dhcp-settings-html.lsp')
-rw-r--r-- | dhcp-settings-html.lsp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcp-settings-html.lsp b/dhcp-settings-html.lsp index de209bf..3b1344a 100644 --- a/dhcp-settings-html.lsp +++ b/dhcp-settings-html.lsp @@ -1,7 +1,7 @@ <% local form, viewlibrary, page_info = ... %> <% require("viewfunctions") %> -<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 = {"domainname", "domainnameservers", "dnsupdatestyle", "defleasetime", "maxleasetime"} |