From 82bba5703c4c02d30b6c0a3c1fa7d5f692147882 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/gnats/trunk@1678 ab2d0c66-481e-0410-8bed-d214d4d58bed --- gnats-edit-html.lsp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnats-edit-html.lsp') diff --git a/gnats-edit-html.lsp b/gnats-edit-html.lsp index 9cc3514..c8e46ca 100644 --- a/gnats-edit-html.lsp +++ b/gnats-edit-html.lsp @@ -25,7 +25,7 @@ displayinfo(myform,tags,"viewonly")
<% local myform = form.file -io.write('') +io.write('') local tags = { "filename", "filesize", "mtime", "sumerrors", } displayinfo(myform,tags,"viewonly") %> @@ -34,7 +34,7 @@ displayinfo(myform,tags,"viewonly")

FILE CONTENT

<% local myform = form.file -io.write('') +io.write('') io.write(html.form[myform.filecontent.type](myform.filecontent)) %> -- cgit v1.2.3