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 D5265200BCE for ; Thu, 17 Nov 2016 12:11:59 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id D26DD160AFF; Thu, 17 Nov 2016 11:11:59 +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 55E6A160B0B for ; Thu, 17 Nov 2016 12:11:59 +0100 (CET) Received: (qmail 21141 invoked by uid 500); 17 Nov 2016 11:11:58 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 20976 invoked by uid 99); 17 Nov 2016 11:11:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Nov 2016 11:11:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 5DA052C4C72 for ; Thu, 17 Nov 2016 11:11:58 +0000 (UTC) Date: Thu, 17 Nov 2016 11:11:58 +0000 (UTC) From: =?utf-8?Q?Marcin_Gorgo=C5=84_=28JIRA=29?= To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CXF-7138) Logging interceptor is logging binary content MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 17 Nov 2016 11:12:00 -0000 [ https://issues.apache.org/jira/browse/CXF-7138?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Marcin Gorgo=C5=84 updated CXF-7138: ------------------------------- Fix Version/s: (was: Invalid) > Logging interceptor is logging binary content > --------------------------------------------- > > Key: CXF-7138 > URL: https://issues.apache.org/jira/browse/CXF-7138 > Project: CXF > Issue Type: Bug > Components: logging > Affects Versions: 3.1.7 > Reporter: Marcin Gorgo=C5=84 > > LoggingInInterceptor and LoggingOutInterceptor are dumping binary payload= s, even when showBinaryContent is set to false (which is it's default value= ). > Actually, AbstractLoggingInterceptor has defined only few binary content = media types: > BINARY_CONTENT_MEDIA_TYPES.add("application/octet-stream"); > BINARY_CONTENT_MEDIA_TYPES.add("image/png"); > BINARY_CONTENT_MEDIA_TYPES.add("image/jpeg"); > BINARY_CONTENT_MEDIA_TYPES.add("image/gif"); > When ZIP or PDF files are transmitted in XOP payload, they are not recogn= ized as binary content and are logged. > This enforces users writting their own filters, which should be provided = by default, when showBinaryContent is set to false. -- This message was sent by Atlassian JIRA (v6.3.4#6332)