diff options
author | Ted Trask <ttrask01@yahoo.com> | 2009-01-15 21:44:39 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2009-01-15 21:44:39 +0000 |
commit | f7bba5fcde5a5674a08f2f62236a7b3ab4be8108 (patch) | |
tree | c00bc7f7758f4268e96873fb645c568e1bf75b54 /tcpproxy-listsmtpfiles-html.lsp | |
parent | 053d0e601f366d04dc78521496eeea2c8e229ba5 (diff) | |
download | acf-tcpproxy-f7bba5fcde5a5674a08f2f62236a7b3ab4be8108.tar.bz2 acf-tcpproxy-f7bba5fcde5a5674a08f2f62236a7b3ab4be8108.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/tcpproxy/trunk@1678 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'tcpproxy-listsmtpfiles-html.lsp')
-rw-r--r-- | tcpproxy-listsmtpfiles-html.lsp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tcpproxy-listsmtpfiles-html.lsp b/tcpproxy-listsmtpfiles-html.lsp index 5de93ba..40c8161 100644 --- a/tcpproxy-listsmtpfiles-html.lsp +++ b/tcpproxy-listsmtpfiles-html.lsp @@ -22,7 +22,7 @@ require("viewfunctions") <%= html.link{value=page_info.script..page_info.prefix..page_info.controller.."/delsmtpfile?filename="..file, label="Delete "} %> <% end %> </TD> - <TD style="white-space:nowrap;"><%= file %></TD> + <TD style="white-space:nowrap;"><%= html.html_escape(file) %></TD> </TR> <% end %> </TABLE> @@ -30,7 +30,7 @@ require("viewfunctions") <% if viewlibrary and viewlibrary.dispatch_component and session.permissions.tcpproxy.createsmtpfile then local createform = viewlibrary.dispatch_component("createsmtpfile", nil, true) %> -<H2><%= createform.label %></H2> +<H2><%= html.html_escape(createform.label) %></H2> <% createform.action = page_info.script .. page_info.prefix .. page_info.controller .. "/createsmtpfile" displayform(createform) |