summaryrefslogtreecommitdiffstats
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
commit120525456769059fc8f04fd362f5060eda2e826b (patch)
tree32a69d71abffdeb06504743e7e9445168cdd43bf
parent9f88eb0bf2faa4bd6bf3b3f35c357efb11618000 (diff)
downloadacf-clamav-120525456769059fc8f04fd362f5060eda2e826b.tar.bz2
acf-clamav-120525456769059fc8f04fd362f5060eda2e826b.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/clamav/trunk@1678 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r--clamav-details-html.lsp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clamav-details-html.lsp b/clamav-details-html.lsp
index f60bb13..b8a4ce7 100644
--- a/clamav-details-html.lsp
+++ b/clamav-details-html.lsp
@@ -9,7 +9,7 @@ io.write("</span>")
<% viewlibrary.dispatch_component("status") %>
-<H2><%= data.label %></H2>
+<H2><%= html.html_escape(data.label) %></H2>
<DL>
<%
displayitem(data)