Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-3179

StrutsPrepareAndExecuteFilter and StrutsPrepareFilter causes i18n problems

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.1.6
    • Fix Version/s: 2.1.8
    • Component/s: Dispatch Filter
    • Labels:
      None
    • Environment:

      Apache Tomcat 6.0.18

    • Flags:
      Important

      Description

      The request parameters are processed in the incorrect character encoding since both filters call request.getParameterMap() before request.setCharacterEncoding().
      The lines:
      prepare.createActionContext(request, response); // invokes request.getParameterMap()
      prepare.assignDispatcherToThread();
      prepare.setEncodingAndLocale(request, response); // invokes request.setCharacterEncoding()

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                progos Árpád Tamási
              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: