summaryrefslogtreecommitdiffstats
path: root/samba-editshare-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
commitc57c6b16c74f7f570c6460be8131da62ea36e237 (patch)
treec1e7f4908643cae06d1e8a78084e6cbe22f8aad7 /samba-editshare-html.lsp
parent09baa0e5afa49cd348c5035efef75c40825fc24f (diff)
downloadacf-samba-c57c6b16c74f7f570c6460be8131da62ea36e237.tar.bz2
acf-samba-c57c6b16c74f7f570c6460be8131da62ea36e237.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/samba/trunk@1678 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'samba-editshare-html.lsp')
-rw-r--r--samba-editshare-html.lsp2
1 files changed, 1 insertions, 1 deletions
diff --git a/samba-editshare-html.lsp b/samba-editshare-html.lsp
index aa67e11..e1d327a 100644
--- a/samba-editshare-html.lsp
+++ b/samba-editshare-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
local order = {"name", "valid", "comment", "path", "browseable", "guest", "printable", "writable"}