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

Ignore parameters that start with "dojo"

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.1
    • 2.0.3
    • None
    • None
    • Patch

    Description

      To prevent browser caching, Dojo adds a parameter "dojo.preventCache"
      with a random value to the request, this results in an exception like:

      2006-12-07 09:54:07,916 ERROR
      (com.opensymphony.xwork2.interceptor.ParametersInterceptor:191) -
      ParametersInterceptor - [setParameters]: Unexpected Exception catched:
      Error setting expression 'dojo.preventCache' with value
      '[Ljava.lang.String;@2130c2'

      Another one is "dojo.transport".

      It would be nice to have some kind of filter for ParameterInterceptor, taking regex.

      Attachments

        1. WW-1551.patch
          8 kB
          Musachy Barroso

        Activity

          People

            mrdon Donald J. Brown
            musachy Musachy Barroso
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: