Commit 1c7f0f18 authored by Ted Trask's avatar Ted Trask

Modified html.lua and viewlibrary.lua and all html files to html_escape...

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/dnscache/trunk@1678 ab2d0c66-481e-0410-8bed-d214d4d58bed
parent efc61cae
......@@ -9,7 +9,7 @@ io.write("</span>")
--]]
%>
<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
form.value.domain.readonly = true
......
......@@ -27,7 +27,7 @@ io.write("</span>")
io.write(html.link{value = "deletedomain?domain=" .. domain, label="Delete " })
end %>
</TD>
<TD style="white-space:nowrap;" width="90%"><%= domain %></TD>
<TD style="white-space:nowrap;" width="90%"><%= html.html_escape(domain) %></TD>
</TR>
<% end %>
</TABLE>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment