You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Baumann (JIRA)" <ji...@apache.org> on 2016/08/30 09:40:20 UTC
[jira] [Created] (CXF-7033) LoggingInterceptors do not handle
messages with non-UTF-8 encoding properly
Daniel Baumann created CXF-7033:
-----------------------------------
Summary: LoggingInterceptors do not handle messages with non-UTF-8 encoding properly
Key: CXF-7033
URL: https://issues.apache.org/jira/browse/CXF-7033
Project: CXF
Issue Type: Bug
Components: logging
Affects Versions: 3.1.7
Reporter: Daniel Baumann
Priority: Minor
If the HTTP communication uses non-UTF-8 encoding, special characters (such as the German umlauts) cause dropping the message payload from log output when {{prettyLogging}} is enabled.
Example message:
{code}
POST /service HTTP/1.1
Content-Type: application/soap+xml; action="service-action"; charset=ISO-8859-1
Accept: */*
User-Agent: Apache CXF 3.1.6
Cache-Control: no-cache
Pragma: no-cache
Host: host:8081
Connection: keep-alive
Content-Length: 2072
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Header>...</soap:Header><soap:Body>...<lastName>Müller</lastName>...</soap:Body></soap:Envelope>
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)