diff --git a/src/main/java/org/t246osslab/easybuggy/vulnerabilities/UnrestrictedExtensionUploadServlet.java b/src/main/java/org/t246osslab/easybuggy/vulnerabilities/UnrestrictedExtensionUploadServlet.java index a3f439d7..be6ac999 100644 --- a/src/main/java/org/t246osslab/easybuggy/vulnerabilities/UnrestrictedExtensionUploadServlet.java +++ b/src/main/java/org/t246osslab/easybuggy/vulnerabilities/UnrestrictedExtensionUploadServlet.java @@ -124,8 +124,8 @@ protected void doPost(HttpServletRequest req, HttpServletResponse res) throws Se bodyHtml.append(MessageUtils.getErrMsg("msg.convert.grayscale.fail", locale)); } if (isConverted) { - bodyHtml.append("

"); bodyHtml.append(""); + bodyHtml.append("

"); } bodyHtml.append(""); diff --git a/src/main/java/org/t246osslab/easybuggy/vulnerabilities/UnrestrictedSizeUploadServlet.java b/src/main/java/org/t246osslab/easybuggy/vulnerabilities/UnrestrictedSizeUploadServlet.java index 6dfdb558..dff02824 100644 --- a/src/main/java/org/t246osslab/easybuggy/vulnerabilities/UnrestrictedSizeUploadServlet.java +++ b/src/main/java/org/t246osslab/easybuggy/vulnerabilities/UnrestrictedSizeUploadServlet.java @@ -120,8 +120,8 @@ protected void doPost(HttpServletRequest req, HttpServletResponse res) throws Se bodyHtml.append(MessageUtils.getErrMsg("msg.reverse.color.fail", locale)); } if (isConverted) { - bodyHtml.append("

"); bodyHtml.append(""); + bodyHtml.append("

"); } bodyHtml.append("");