Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C7544200AE1 for ; Sun, 22 May 2016 08:31:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C60E1160A06; Sun, 22 May 2016 06:31:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 48C80160A07 for ; Sun, 22 May 2016 08:31:14 +0200 (CEST) Received: (qmail 99733 invoked by uid 500); 22 May 2016 06:31:13 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 99695 invoked by uid 99); 22 May 2016 06:31:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 May 2016 06:31:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 24B7B2C1F6B for ; Sun, 22 May 2016 06:31:13 +0000 (UTC) Date: Sun, 22 May 2016 06:31:13 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (WW-4558) contentType override ignored for JSONInterceptor MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 22 May 2016 06:31:14 -0000 [ https://issues.apache.org/jira/browse/WW-4558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15295425#comment-15295425 ] ASF subversion and git services commented on WW-4558: ----------------------------------------------------- Commit 880c1d54a41964d998a8b5b08e7954a7a7c48ab1 in struts's branch refs/heads/master from [~lukaszlenart] [ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=880c1d5 ] WW-4558 contentType override ignored for JSONInterceptor > 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.5.x > > > 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)