summaryrefslogtreecommitdiffstats
path: root/fetchmail-editentry-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
commitaf267177f743271990e593265ca32ce341d483d4 (patch)
treef50faf5e7fcd9555de2573dd30886529270647c1 /fetchmail-editentry-html.lsp
parent6e604e9c75b1ba9698242ef0700eb14c2bc3b137 (diff)
downloadacf-fetchmail-af267177f743271990e593265ca32ce341d483d4.tar.bz2
acf-fetchmail-af267177f743271990e593265ca32ce341d483d4.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/fetchmail/trunk@1678 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'fetchmail-editentry-html.lsp')
-rw-r--r--fetchmail-editentry-html.lsp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fetchmail-editentry-html.lsp b/fetchmail-editentry-html.lsp
index 63cbf03..07150bb 100644
--- a/fetchmail-editentry-html.lsp
+++ b/fetchmail-editentry-html.lsp
@@ -2,7 +2,7 @@
require("viewfunctions")
%>
-<H1><%= form.label %></H1>
+<H1><%= html.html_escape(form.label) %></H1>
<%
form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action
if page_info.action == "editentry" then