summaryrefslogtreecommitdiffstats
path: root/dhcp-home-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
commit61131a0d088c5fd27e99291714903050ddb0d41a (patch)
treee79f7d51e9a7814091aa8ec526d0d6e72e978b20 /dhcp-home-html.lsp
parent168d1ee9a8eaf3142e76e4e8b04cc39b5b1769c3 (diff)
downloadacf-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-home-html.lsp')
-rw-r--r--dhcp-home-html.lsp4
1 files changed, 2 insertions, 2 deletions
diff --git a/dhcp-home-html.lsp b/dhcp-home-html.lsp
index 9c24dcf..560b2f6 100644
--- a/dhcp-home-html.lsp
+++ b/dhcp-home-html.lsp
@@ -11,8 +11,8 @@ end %>
<DL>
<dt>Edit global settings</dt>
-<dd><form action="<%= page_info.script .. page_info.prefix .. page_info.controller .. "/settings" %>" method="POST">
-<input class="hidden" type="hidden" name="redir" value="<%= page_info.orig_action %>" >
+<dd><form action="<%= html.html_escape(page_info.script .. page_info.prefix .. page_info.controller .. "/settings") %>" method="POST">
+<input class="hidden" type="hidden" name="redir" value="<%= html.html_escape(page_info.orig_action) %>" >
<input type=submit value="Edit" class="submit">
</form></dd>
</DL>