Package jenkins.security
Class SuspiciousRequestFilter
java.lang.Object
jenkins.security.SuspiciousRequestFilter
- All Implemented Interfaces:
 jakarta.servlet.Filter,org.kohsuke.stapler.CompatibleFilter
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public class SuspiciousRequestFilter
extends Object
implements org.kohsuke.stapler.CompatibleFilter
- 
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kohsuke.stapler.CompatibleFilter
doFilter, init 
- 
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(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, jakarta.servlet.FilterChain chain) throws IOException, jakarta.servlet.ServletException - Specified by:
 doFilterin interfacejakarta.servlet.Filter- Throws:
 IOExceptionjakarta.servlet.ServletException
 - 
init
public void init(jakarta.servlet.FilterConfig filterConfig) throws jakarta.servlet.ServletException - Specified by:
 initin interfacejakarta.servlet.Filter- Throws:
 jakarta.servlet.ServletException
 - 
destroy
public void destroy()- Specified by:
 destroyin interfacejakarta.servlet.Filter
 
 -