com.atlassian.jira.web.filters
Class CurlyQuotesFilter

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

public class CurlyQuotesFilter
extends com.atlassian.core.filters.AbstractHttpFilter

Applies the WordCurlyQuotesRequestWrapper to the request, in order to escape high-bit punctuation characters with ASCII equivalents in request parameter values.

Since:
v4.0

Constructor Summary
CurlyQuotesFilter()
           
 
Method Summary
protected  void doFilter(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain filterChain)
           
protected  String getEncoding()
           
 
Methods inherited from class com.atlassian.core.filters.AbstractHttpFilter
destroy, doFilter, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurlyQuotesFilter

public CurlyQuotesFilter()
Method Detail

doFilter

protected void doFilter(javax.servlet.http.HttpServletRequest request,
                        javax.servlet.http.HttpServletResponse response,
                        javax.servlet.FilterChain filterChain)
                 throws IOException,
                        javax.servlet.ServletException
Specified by:
doFilter in class com.atlassian.core.filters.AbstractHttpFilter
Throws:
IOException
javax.servlet.ServletException

getEncoding

protected String getEncoding()


Copyright © 2002-2012 Atlassian. All Rights Reserved.