com.atlassian.jira.web.filters
Class MultipartBoundaryCheckFilter

java.lang.Object
  extended by com.atlassian.jira.web.filters.MultipartBoundaryCheckFilter
All Implemented Interfaces:
javax.servlet.Filter

public class MultipartBoundaryCheckFilter
extends Object
implements javax.servlet.Filter

This filter protects against CVE-2014-0050: Exploit with Boundaries, Loops without Boundaries

Since:
v6.2

Constructor Summary
MultipartBoundaryCheckFilter()
           
 
Method Summary
 void destroy()
           
 void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)
           
 void init(javax.servlet.FilterConfig filterConfig)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultipartBoundaryCheckFilter

public MultipartBoundaryCheckFilter()
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


Copyright © 2002-2014 Atlassian. All Rights Reserved.