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 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.static boolean
allowSemicolonsInPath
-
Constructor Summary
Constructors Constructor Description SuspiciousRequestFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
void
doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)
void
init(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:
doFilter
in interfacejavax.servlet.Filter
- Throws:
IOException
javax.servlet.ServletException
-
init
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
- Specified by:
init
in interfacejavax.servlet.Filter
- Throws:
javax.servlet.ServletException
-
destroy
public void destroy()
- Specified by:
destroy
in interfacejavax.servlet.Filter
-
-