Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-1698

Web.xml filter order is incorrect for extended UTF-8 characters

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 1.1.0.RELEASE
    • Fix Version/s: 1.1.1.RELEASE
    • Component/s: WEB MVC
    • Labels:
      None
    • Environment:
      Win 7, STS 2.5

      Description

      Build any of the samples with WebMVC. Look at web.xml. The CharacterEncodingFilter is ordered after several other filters, one or more of which retrieve a parameter from the request. Character encoding can only be changed before the first parameter request, therefore the CharacterEncodingFilter is having no effect, and the result is a mangled UTF-8 character interpreted as ISO=8859-1 (you should be able to test this yourself, by using something like the specialized quotes in Microsoft word). The fix is to make the CharacterEncodingFilter the first filter executed.

      For additional encoding info see: http://wiki.apache.org/tomcat/FAQ/CharacterEncoding

        Attachments

          Activity

            People

            • Assignee:
              sschmidt Stefan Schmidt
              Reporter:
              rsax Robert Sax
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: