Class SuspiciousRequestFilter

  • All Implemented Interfaces:
    javax.servlet.Filter

    @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
    public class SuspiciousRequestFilter
    extends Object
    implements javax.servlet.Filter
    • 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
    • Constructor Detail

      • SuspiciousRequestFilter

        public SuspiciousRequestFilter()
    • 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 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