We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Similar to the XSS in servlet and JSP detector. A detector could be made to detect the following patterns:
import javax.portlet.*; import java.io.*; public class HelloWorld extends GenericPortlet { public void init (PortletConfig portletConfig) throws UnavailableException, PortletException { super.init(portletConfig); } public void doView(RenderRequest request, RenderResponse response) throws PortletException, IOException { response.setContentType("text/html"); PrintWriter writer = response.getWriter(); String user = request.getParameter("user"); writer.println("<h1>Hello "+user+"!</h1>"); } }
import org.apache.jetspeed.portlet.*; import java.io.*; public class HelloWorld extends PortletAdapter { public void init (PortletConfig portletConfig) throws UnavailableException { super.init(portletConfig); } public void doView(PortletRequest request, PortletResponse response) throws PortletException, IOException { PrintWriter writer = response.getWriter(); String user = request.getParameter("user"); writer.println("<h1>Hello "+user+"!</h1>"); } }
Ref: https://www.ibm.com/support/knowledgecenter/SSHRKX_8.0.0/dev/wpsbscfg.html
The text was updated successfully, but these errors were encountered:
Added support for Portlet in the XSS detector #216
ad9d154
No branches or pull requests
Similar to the XSS in servlet and JSP detector. A detector could be made to detect the following patterns:
Ref: https://www.ibm.com/support/knowledgecenter/SSHRKX_8.0.0/dev/wpsbscfg.html
The text was updated successfully, but these errors were encountered: