Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-4124

Character Set Filter stops working in 7.1.1 looks like a regression

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • No Release
    • 7.1.1.Final
    • None
    • None

      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

      <filter>
         <filter-name>forceUTF8CharSet</filter-name>
         <filter-class&gt;com.googlecode.webutilities.filters.CharacterEncodingFilter</filter-class&gt;
         <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>
      

              Unassigned Unassigned
              cody.lerum@gmail.com Cody Lerum
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: