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 (JIRA)" <ji...@apache.org> on 2016/03/03 17:45:18 UTC

[jira] [Comment Edited] (WW-4558) contentType override ignored for JSONInterceptor

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

Lukasz Lenart edited comment on WW-4558 at 3/3/16 4:44 PM:
-----------------------------------------------------------

But this is a breaking change and it shouldn't go into 2.3.25, if no objections I will change the {{Fix for}} to 2.5


was (Author: lukaszlenart):
But this is a breaking change and it shouldn't go into 2.3.25, if no objections I will change the `Fix for` to 2.3

> contentType override ignored for JSONInterceptor
> ------------------------------------------------
>
>                 Key: WW-4558
>                 URL: https://issues.apache.org/jira/browse/WW-4558
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - JSON
>    Affects Versions: 2.3.24
>            Reporter: Jasper Rosenberg
>            Priority: Minor
>             Fix For: 2.3.25
>
>
> JSONInterceptor takes a contentType parameter, but as far as I can tell does nothing with it.  I would think a reasonable way to use it would be to have it used if available, rather than the content type from the request so that the interceptor can be used when receiving a JSON post from a third party that does not set the correct content type.
> PR https://github.com/apache/struts/pull/87



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)