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 Details

    • 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
  • 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:
      doFilter in interface javax.servlet.Filter
      Throws:
      IOException
      javax.servlet.ServletException
    • init

      public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
      Specified by:
      init in interface javax.servlet.Filter
      Throws:
      javax.servlet.ServletException
    • destroy

      public void destroy()
      Specified by:
      destroy in interface javax.servlet.Filter