summaryrefslogtreecommitdiffstats
path: root/squid-listfiles-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'squid-listfiles-html.lsp')
-rw-r--r--squid-listfiles-html.lsp4
1 files changed, 2 insertions, 2 deletions
diff --git a/squid-listfiles-html.lsp b/squid-listfiles-html.lsp
index 0fc6a1e..1fbc41a 100644
--- a/squid-listfiles-html.lsp
+++ b/squid-listfiles-html.lsp
@@ -22,7 +22,7 @@ require("viewfunctions")
<%= html.link{value=page_info.script..page_info.prefix..page_info.controller.."/deletefile?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.squid.createfile then
local createform = viewlibrary.dispatch_component("createfile", nil, true) %>
-<H2><%= createform.label %></H2>
+<H2><%= html.html_escape(createform.label) %></H2>
<%
createform.action = page_info.script .. page_info.prefix .. page_info.controller .. "/createfile"
displayform(createform)