Trust Boundary Work

This commit is contained in:
Ed Minnix
2023-07-19 16:39:09 -04:00
parent 2aba425464
commit f58590c6a9
5 changed files with 66 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
import java.io.IOException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class TrustBoundaryViolations extends HttpServlet {
public void doGet(HttpServletRequest request, HttpServletResponse response) {
String input = request.getParameter("input");
request.getSession().setAttribute("input", input); // $ hasTaintFlow
}
}