Skip to content

Commit

Permalink
Improve layout of mail header injection page
Browse files Browse the repository at this point in the history
  • Loading branch information
k-tamura committed Sep 8, 2017
1 parent cce795c commit be4107d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ protected void doGet(HttpServletRequest req, HttpServletResponse res) throws Ser
bodyHtml.append(MessageUtils.getMsg("description.send.mail", locale));
bodyHtml.append("<br><br>");
bodyHtml.append("<form action=\"mailheaderijct\" method=\"post\" enctype=\"multipart/form-data\">");
bodyHtml.append("<table>");
bodyHtml.append("<table style=\"font-size:small;\">");
bodyHtml.append("<tr>");
bodyHtml.append("<td>" + MessageUtils.getMsg("label.your.name", locale) + ":&nbsp;<br><br></td>");
bodyHtml.append("<td><input type=\"text\" name=\"name\" size=\"50\"/><br><br></td>");
Expand Down Expand Up @@ -79,7 +79,7 @@ protected void doGet(HttpServletRequest req, HttpServletResponse res) throws Ser
bodyHtml.append("</table>");
bodyHtml.append("<br>");
if (req.getAttribute("message") != null) {
bodyHtml.append(req.getAttribute("message"));
bodyHtml.append(req.getAttribute("message") + "<br><br>");
req.setAttribute("message", null);
}
bodyHtml.append(MessageUtils.getInfoMsg("msg.note.mail.header.injection", locale));
Expand Down

0 comments on commit be4107d

Please sign in to comment.