You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (Issue Comment Edited) (JIRA)" <ji...@apache.org> on 2011/11/28 14:12:40 UTC

[jira] [Issue Comment Edited] (WW-3713) Allow results from POST and restore compatibility with struts-rest-plugin version 2.2.1

    [ https://issues.apache.org/jira/browse/WW-3713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13158410#comment-13158410 ] 

Lukasz Lenart edited comment on WW-3713 at 11/28/11 1:11 PM:
-------------------------------------------------------------

Is it a sufficient solution for you ? I've added struts.rest.content.restirctToGET flag to allow disable returning content for other methods than GET
                
      was (Author: lukaszlenart):
    Is a sufficient solution for you ? I've added flag, struts.rest.content.restirctToGET to allow disable returning content for other methods than GET
                  
> Allow results from POST and restore compatibility with struts-rest-plugin version 2.2.1
> ---------------------------------------------------------------------------------------
>
>                 Key: WW-3713
>                 URL: https://issues.apache.org/jira/browse/WW-3713
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Plugin - REST
>    Affects Versions: 2.2.3
>            Reporter: Kristof Vanbecelaere
>            Priority: Blocker
>             Fix For: 2.2.x
>
>         Attachments: WW-3713-1.patch
>
>
> Some time ago I posted a message on the mailing list but got no reply. See http://struts.1045723.n5.nabble.com/struts-rest-plugin-2-2-3-result-from-POST-td4469274.html
> We really would like to update to newer versions of Struts and benefit from the security fixes but we absolutely care about backward-compatibility. We are aware that it is not a "valid" REST practice to return results from POST operations and we wish we had not done so in the first place. Unfortunately, to remain backward compatible we have no choice. Do you see a way to restore the 2.2.1 behavior to allow us to remain backward-compatible?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira