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
Fields Modifier and Type Field Description static StringALLOW_SEMICOLONS_IN_PATHSystem property name set to true or false to indicate whether or not semicolons should be allowed in URL paths.static booleanallowSemicolonsInPath
-
Constructor Summary
Constructors Constructor Description SuspiciousRequestFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()voiddoFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)voidinit(javax.servlet.FilterConfig filterConfig)
-
-
-
Field Detail
-
ALLOW_SEMICOLONS_IN_PATH
public static final String 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
-
-
Method Detail
-
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
-
-