summaryrefslogtreecommitdiffstats
path: root/shorewall-details-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
commit7501c1e7414f71a44feef23937505bd3eb7e5c28 (patch)
tree5689eadc01717c3ac20127b569e28cc46797fd36 /shorewall-details-html.lsp
parent77f10141386c423248bb07a5b4ce794ad9aca138 (diff)
downloadacf-shorewall-7501c1e7414f71a44feef23937505bd3eb7e5c28.tar.bz2
acf-shorewall-7501c1e7414f71a44feef23937505bd3eb7e5c28.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/shorewall/trunk@1678 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'shorewall-details-html.lsp')
-rw-r--r--shorewall-details-html.lsp4
1 files changed, 2 insertions, 2 deletions
diff --git a/shorewall-details-html.lsp b/shorewall-details-html.lsp
index d5a65ec..06436b0 100644
--- a/shorewall-details-html.lsp
+++ b/shorewall-details-html.lsp
@@ -13,7 +13,7 @@ io.write("</span>")
viewlibrary.dispatch_component("status")
end %>
-<H2><%= data.label %></H2>
+<H2><%= html.html_escape(data.label) %></H2>
<PRE>
-<%= data.value %>
+<%= html.html_escape(data.value) %>
</PRE>