Skip to content

Commit ac46a38

Browse files
authored
Update java/ql/src/Security/CWE/CWE-079/XSS.java
1 parent 2b02770 commit ac46a38

File tree

1 file changed

+1
-1
lines changed
  • java/ql/src/Security/CWE/CWE-079

1 file changed

+1
-1
lines changed

java/ql/src/Security/CWE/CWE-079/XSS.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ protected void doGet(HttpServletRequest request, HttpServletResponse response)
33
throws ServletException, IOException {
44
// BAD: a request parameter is written directly to the Servlet response stream
55
response.getWriter().print(
6-
"The page \"" + request.getParameter("page") + "\" was not found."); // $xss
6+
"The page \"" + request.getParameter("page") + "\" was not found.");
77

88
}
99
}

0 commit comments

Comments
 (0)