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 138A6200BC2 for ; Thu, 17 Nov 2016 21:31:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 10BCB160B1B; Thu, 17 Nov 2016 20:31:00 +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 7F798160AD8 for ; Thu, 17 Nov 2016 21:30:59 +0100 (CET) Received: (qmail 12585 invoked by uid 500); 17 Nov 2016 20:30: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 12559 invoked by uid 99); 17 Nov 2016 20:30: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 20:30:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9035C2C0D55 for ; Thu, 17 Nov 2016 20:30:58 +0000 (UTC) Date: Thu, 17 Nov 2016 20:30: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] [Closed] (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 20:31:00 -0000 [ https://issues.apache.org/jira/browse/CXF-7138?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Marcin Gorgo=C5=84 closed CXF-7138. ------------------------------ Resolution: Not A Bug Created wish: https://issues.apache.org/jira/browse/CXF-7143 > 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)