[jboss-jira] [JBoss JIRA] (AS7-4124) Character Set Filter stops working in 7.1.1 looks like a regression

Cody Lerum (JIRA) jira-events at lists.jboss.org
Fri Mar 9 13:22:36 EST 2012


Cody Lerum created AS7-4124:
-------------------------------

             Summary: Character Set Filter stops working in 7.1.1 looks like a regression
                 Key: AS7-4124
                 URL: https://issues.jboss.org/browse/AS7-4124
             Project: Application Server 7
          Issue Type: Bug
    Affects Versions: 7.1.1.Final
            Reporter: Cody Lerum


This is a regression from 7.1.0.Final

Using the filter at http://code.google.com/p/webutilities/wiki/CharacterEncodingFilter I am able to force my charset to UTF-8 for requests but the filter has no effect in 7.1.1.Final

It does work fine in 7.1.0.Final

{code}
<filter>
   <filter-name>forceUTF8CharSet</filter-name>
   <filter-class>com.googlecode.webutilities.filters.CharacterEncodingFilter</filter-class>
   <init-param>
      <param-name>encoding</param-name>
      <param-value>UTF-8</param-value>
   </init-param>
   <init-param>
      <param-name>force</param-name>
      <param-value>true</param-value>
   </init-param>
   <init-param>
      <param-name>ignoreURLPattern</param-name>
      <param-value>.*\.(png|jpg|gif)|.*/image?/.*</param-value>
   </init-param>
</filter>

<filter-mapping>
   <filter-name>forceUTF8CharSet</filter-name>
   <url-pattern>*</url-pattern>
</filter-mapping>
{code}




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list