summaryrefslogtreecommitdiffstats
path: root/ipsectools-uploadcert-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
commit72a3e69b5f4adafea8905e60213371ab1b2fc019 (patch)
treeae83e7a78d5533b72696678f873857511451b8a0 /ipsectools-uploadcert-html.lsp
parentcad10c9da021f1b91881585985cd2cf5f457bf9f (diff)
downloadacf-ipsec-tools-72a3e69b5f4adafea8905e60213371ab1b2fc019.tar.bz2
acf-ipsec-tools-72a3e69b5f4adafea8905e60213371ab1b2fc019.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/ipsec-tools/trunk@1678 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'ipsectools-uploadcert-html.lsp')
-rw-r--r--ipsectools-uploadcert-html.lsp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipsectools-uploadcert-html.lsp b/ipsectools-uploadcert-html.lsp
index a3e88ba..02ed7a0 100644
--- a/ipsectools-uploadcert-html.lsp
+++ b/ipsectools-uploadcert-html.lsp
@@ -5,7 +5,7 @@
io.write(html.cfe_unpack(form))
--]] %>
-<H1><%= form.label %></H1>
+<H1><%= html.html_escape(form.label) %></H1>
<%
-- This is a kludge to get file upload working
form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action .. '" enctype="multipart/form-data'