[
https://issues.apache.org/jira/browse/CXF-7033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15452099#comment-15452099
]
ASF GitHub Bot commented on CXF-7033:
-------------------------------------
GitHub user da-baumann opened a pull request:
https://github.com/apache/cxf/pull/163
[CXF-7033] LoggingInterceptors do not handle messages with non-UTF-8 …
…encoding properly
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/da-baumann/cxf CXF-7033
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cxf/pull/163.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #163
----
commit cac3a94137b43df90ca6525db167955f2a38b42d
Author: Daniel Baumann <[email protected]>
Date: 2016-08-30T09:45:06Z
[CXF-7033] LoggingInterceptors do not handle messages with non-UTF-8
encoding properly
----
> 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)