summaryrefslogtreecommitdiffstats
path: root/logfiles-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
commit3c67f77555e636f949588c049c2074c70a1cbe33 (patch)
tree1b9e71fc71f4d8e0617b0b0973cb411009eb4331 /logfiles-status-html.lsp
parent5ec7a43c6f0a6cd1369da101fa0e3f1f12d99973 (diff)
downloadacf-alpine-baselayout-3c67f77555e636f949588c049c2074c70a1cbe33.tar.bz2
acf-alpine-baselayout-3c67f77555e636f949588c049c2074c70a1cbe33.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/alpine-baselayout/trunk@1678 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'logfiles-status-html.lsp')
-rw-r--r--logfiles-status-html.lsp6
1 files changed, 3 insertions, 3 deletions
diff --git a/logfiles-status-html.lsp b/logfiles-status-html.lsp
index b4e98b4..2b2fa9e 100644
--- a/logfiles-status-html.lsp
+++ b/logfiles-status-html.lsp
@@ -31,9 +31,9 @@
<TD style="padding-right:20px;white-space:nowrap;"><%= html.link{value = "view?name="..file.value.filename.value, label="View" } %></TD>
<TD style="padding-right:20px;white-space:nowrap;"><%= html.link{value = "tail?name="..file.value.filename.value, label="Tail" } %></TD>
<TD style="padding-right:20px;white-space:nowrap;"><%= html.link{value = "download?name="..file.value.filename.value, label="Download" } %></TD>
- <TD style="padding-right:20px;white-space:nowrap;text-align:right"><%= file.value.filesize.value %></TD>
- <TD style="padding-right:20px;white-space:nowrap;"><%= file.value.mtime.value %></TD>
- <TD style="white-space:nowrap;"><%= file.value.filename.value %></TD>
+ <TD style="padding-right:20px;white-space:nowrap;text-align:right"><%= html.html_escape(file.value.filesize.value) %></TD>
+ <TD style="padding-right:20px;white-space:nowrap;"><%= html.html_escape(file.value.mtime.value) %></TD>
+ <TD style="white-space:nowrap;"><%= html.html_escape(file.value.filename.value) %></TD>
</TR>
<% end %>
</TABLE>