Package jenkins.security
Class SuspiciousRequestFilter
java.lang.Object
jenkins.security.SuspiciousRequestFilter
- All Implemented Interfaces:
javax.servlet.Filter
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public class SuspiciousRequestFilter
extends Object
implements javax.servlet.Filter
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringSystem property name set to true or false to indicate whether or not semicolons should be allowed in URL paths.static boolean -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ALLOW_SEMICOLONS_IN_PATH
System property name set to true or false to indicate whether or not semicolons should be allowed in URL paths. -
allowSemicolonsInPath
public static boolean allowSemicolonsInPath
-
-
Constructor Details
-
SuspiciousRequestFilter
public SuspiciousRequestFilter()
-
-
Method Details
-
doFilter
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException - Specified by:
doFilterin interfacejavax.servlet.Filter- Throws:
IOExceptionjavax.servlet.ServletException
-
init
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException - Specified by:
initin interfacejavax.servlet.Filter- Throws:
javax.servlet.ServletException
-
destroy
public void destroy()- Specified by:
destroyin interfacejavax.servlet.Filter
-