We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b02770 commit ac46a38Copy full SHA for ac46a38
java/ql/src/Security/CWE/CWE-079/XSS.java
@@ -3,7 +3,7 @@ protected void doGet(HttpServletRequest request, HttpServletResponse response)
3
throws ServletException, IOException {
4
// BAD: a request parameter is written directly to the Servlet response stream
5
response.getWriter().print(
6
- "The page \"" + request.getParameter("page") + "\" was not found."); // $xss
+ "The page \"" + request.getParameter("page") + "\" was not found.");
7
8
}
9
0 commit comments