[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 16:49:36 EST 2012


    [ https://issues.jboss.org/browse/AS7-4124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12675630#comment-12675630 ] 

Cody Lerum commented on AS7-4124:
---------------------------------

Appears fixed in 255ceb1
                
> 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