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

Interceptor Stack Order

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not A Problem
    • Affects Version/s: 2.0.11
    • Fix Version/s: None
    • Component/s: XML Configuration
    • Labels:
      None
    • Environment:

      any

      Description

      struts-default.xml (struts 2.0.11) gives this interceptor order in the stacks:

      <interceptor-ref name="staticParams"/>
      <interceptor-ref name="params"/>

      is it correct that staticParams comes before params ? this allow GET and POST variable to overwrite statically set parameters. Maybe this can lead to security risks.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              fabiogandola GF
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: