From 46ea286ecd9626fa9002e939676b18fe6fba26d6 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Thu, 15 Jan 2009 21:44:39 +0000 Subject: 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-conf/trunk@1678 ab2d0c66-481e-0410-8bed-d214d4d58bed --- lbu-listbackups-html.lsp | 2 +- lbu-listchanges-html.lsp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lbu-listbackups-html.lsp b/lbu-listbackups-html.lsp index cc6e3d8..a2e80e4 100644 --- a/lbu-listbackups-html.lsp +++ b/lbu-listbackups-html.lsp @@ -24,7 +24,7 @@ No backup files <%= html.link{value="selectbackup?backup="..name, label="Select "} %> - <%= name %> + <%= html.html_escape(name) %> <% end end %> diff --git a/lbu-listchanges-html.lsp b/lbu-listchanges-html.lsp index 0733e96..42d6387 100644 --- a/lbu-listchanges-html.lsp +++ b/lbu-listchanges-html.lsp @@ -22,7 +22,7 @@ end %>

Download Overlay

Generate and download overlay
-
+
<% end %> @@ -35,7 +35,7 @@ end %> io.write("None") else for i,file in pairs(view.value) do - io.write(file.status .. "\t" .. file.name .. "\n") + io.write(html.html_escape(file.status .. "\t" .. file.name .. "\n")) end end %> -- cgit v1.2.3