Return-Path: X-Original-To: apmail-struts-issues-archive@minotaur.apache.org Delivered-To: apmail-struts-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5B703186BF for ; Mon, 15 Feb 2016 13:09:18 +0000 (UTC) Received: (qmail 89191 invoked by uid 500); 15 Feb 2016 13:09:18 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 89150 invoked by uid 500); 15 Feb 2016 13:09:18 -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 89138 invoked by uid 99); 15 Feb 2016 13:09:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Feb 2016 13:09:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 10D8E2C14F4 for ; Mon, 15 Feb 2016 13:09:18 +0000 (UTC) Date: Mon, 15 Feb 2016 13:09:18 +0000 (UTC) From: "Lukasz Lenart (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 [ https://issues.apache.org/jira/browse/WW-4558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15147327#comment-15147327 ] Lukasz Lenart commented on WW-4558: ----------------------------------- [~perfnorm] could you review the PR? > 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)