diff options
Diffstat (limited to 'fetchmail-listentries-html.lsp')
-rw-r--r-- | fetchmail-listentries-html.lsp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fetchmail-listentries-html.lsp b/fetchmail-listentries-html.lsp index 9ddcf64..32b550a 100644 --- a/fetchmail-listentries-html.lsp +++ b/fetchmail-listentries-html.lsp @@ -27,17 +27,17 @@ io.write("</span>") <% io.write(html.link{value = "editentry?entry=" .. entry.entry.."&method="..entry.method.."&remotemailbox="..entry.remotemailbox.."&localdomain="..entry.localdomain.."&redir="..page_info.orig_action, label="Edit " }) %> <% io.write(html.link{value = "deleteentry?entry=" .. entry.entry.."&method="..entry.method.."&remotemailbox="..entry.remotemailbox.."&localdomain="..entry.localdomain, label="Delete " }) %> </TD> - <TD style="padding-right:20px;white-space:nowrap;"><%= entry.entry %></TD> - <TD style="padding-right:20px;white-space:nowrap;"><%= entry.enabled %></TD> - <TD style="padding-right:20px;white-space:nowrap;"><%= entry.method %></TD> - <TD style="white-space:nowrap;" width="90%"><% if entry.localdomain and entry.localdomain ~= "" then io.write(entry.localdomain) else io.write(entry.remotemailbox) end %></TD> + <TD style="padding-right:20px;white-space:nowrap;"><%= html.html_escape(entry.entry) %></TD> + <TD style="padding-right:20px;white-space:nowrap;"><%= html.html_escape(entry.enabled) %></TD> + <TD style="padding-right:20px;white-space:nowrap;"><%= html.html_escape(entry.method) %></TD> + <TD style="white-space:nowrap;" width="90%"><% if entry.localdomain and entry.localdomain ~= "" then io.write(html.html_escape(entry.localdomain)) else io.write(html.html_escape(entry.remotemailbox)) end %></TD> </TR> <% end %> </TABLE> <DT>Add new entry</DT> -<DD><form action="<%= page_info.script .. page_info.prefix .. page_info.controller .. "/createentry" %>" method="POST"> -<input class="hidden" type="hidden" name="redir" value="<%= page_info.orig_action %>" > +<DD><form action="<%= html.html_escape(page_info.script .. page_info.prefix .. page_info.controller .. "/createentry") %>" method="POST"> +<input class="hidden" type="hidden" name="redir" value="<%= html.html_escape(page_info.orig_action) %>" > <input type=submit value="New" class="submit"> </form></DD> </DL> |