You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Don Brown (JIRA)" <ji...@apache.org> on 2006/12/31 07:16:57 UTC

[jira] Resolved: (WW-1551) Ignore parameters that start with "dojo"

     [ http://issues.apache.org/struts/browse/WW-1551?page=all ]

Don Brown resolved WW-1551.
---------------------------

    Fix Version/s: 2.0.3
                       (was: 2.0.2)
       Resolution: Fixed
         Assignee: Don Brown

Patch applied, however, it was against XWork, so it won't make it into Struts 2.0.2 since it depends on the already-released XWork 2.0-RC1.  For future patches, please be careful to follow the Struts coding style and watch extra spaces and line endings that can make the patch harder to read.  Thanks for the feature idea and patch!

> Ignore parameters that start with "dojo"
> ----------------------------------------
>
>                 Key: WW-1551
>                 URL: http://issues.apache.org/struts/browse/WW-1551
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.1
>            Reporter: Musachy Barroso
>         Assigned To: Don Brown
>            Priority: Minor
>             Fix For: 2.0.3
>
>         Attachments: WW-1551.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira