From af267177f743271990e593265ca32ce341d483d4 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/fetchmail/trunk@1678 ab2d0c66-481e-0410-8bed-d214d4d58bed --- fetchmail-listentries-html.lsp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'fetchmail-listentries-html.lsp') diff --git a/fetchmail-listentries-html.lsp b/fetchmail-listentries-html.lsp index 9ddcf64..32b550a 100644 --- a/fetchmail-listentries-html.lsp +++ b/fetchmail-listentries-html.lsp @@ -27,17 +27,17 @@ io.write("") <% io.write(html.link{value = "editentry?entry=" .. entry.entry.."&method="..entry.method.."&remotemailbox="..entry.remotemailbox.."&localdomain="..entry.localdomain.."&redir="..page_info.orig_action, label="Edit " }) %> <% io.write(html.link{value = "deleteentry?entry=" .. entry.entry.."&method="..entry.method.."&remotemailbox="..entry.remotemailbox.."&localdomain="..entry.localdomain, label="Delete " }) %> - <%= entry.entry %> - <%= entry.enabled %> - <%= entry.method %> - <% if entry.localdomain and entry.localdomain ~= "" then io.write(entry.localdomain) else io.write(entry.remotemailbox) end %> + <%= html.html_escape(entry.entry) %> + <%= html.html_escape(entry.enabled) %> + <%= html.html_escape(entry.method) %> + <% if entry.localdomain and entry.localdomain ~= "" then io.write(html.html_escape(entry.localdomain)) else io.write(html.html_escape(entry.remotemailbox)) end %> <% end %>
Add new entry
-
" method="POST"> - +
" method="POST"> +
-- cgit v1.2.3