summaryrefslogtreecommitdiffstats
path: root/openssl-status-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
commitafcd120c1c5b8d839820259c9d8b488e994fcffe (patch)
tree4de8e8154f830517eb5b8dd9423973e054d5041b /openssl-status-html.lsp
parent9457621e19a8c7475412782ad15225a44302006d (diff)
downloadacf-openssl-afcd120c1c5b8d839820259c9d8b488e994fcffe.tar.bz2
acf-openssl-afcd120c1c5b8d839820259c9d8b488e994fcffe.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/openssl/trunk@1678 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'openssl-status-html.lsp')
-rw-r--r--openssl-status-html.lsp4
1 files changed, 2 insertions, 2 deletions
diff --git a/openssl-status-html.lsp b/openssl-status-html.lsp
index b1b59ea..68623da 100644
--- a/openssl-status-html.lsp
+++ b/openssl-status-html.lsp
@@ -11,7 +11,7 @@ io.write(html.cfe_unpack(view))
<DL>
<% displayitem(view.value.version) %>
<% if view.value.version and view.value.version.errtxt and session.permissions.apk and session.permissions.apk.install then %>
- <a href="<%= page_info.script .. "/apk-tools/apk/install?package="..view.value.version.name %>">Install</a>
+ <a href="<%= html.html_escape(page_info.script .. "/apk-tools/apk/install?package="..view.value.version.name) %>">Install</a>
<% end %>
<% displayitem(view.value.conffile) %>
<% displayitem(view.value.environment) %>
@@ -26,7 +26,7 @@ io.write(html.cfe_unpack(view))
end
elseif not view.value.cacert.errtxt and not view.value.cakey.errtxt then %>
<H1>CA Certificate contents</H1>
-<pre><%= view.value.cacertcontents.value %></pre>
+<pre><%= html.html_escape(view.value.cacertcontents.value) %></pre>
<% elseif viewlibrary and viewlibrary.dispatch_component then
if session.permissions.openssl.putcacert then
viewlibrary.dispatch_component("putcacert")