[ 
https://issues.apache.org/jira/browse/KNOX-678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15181859#comment-15181859
 ] 

ASF subversion and git services commented on KNOX-678:
------------------------------------------------------

Commit 3d37f7b274a324a2c34041b0c209ebcb4f954a68 in knox's branch 
refs/heads/master from [~kevin.minder]
[ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=3d37f7b ]

Revert "[KNOX-678] - Malformed UTF-8 characters in JSON Response"

This reverts commit 7806a411a847442723dbe4b064aacdce896d1d61.


> Malformed UTF-8 characters in JSON Response
> -------------------------------------------
>
>                 Key: KNOX-678
>                 URL: https://issues.apache.org/jira/browse/KNOX-678
>             Project: Apache Knox
>          Issue Type: Bug
>    Affects Versions: 0.6.0
>         Environment: HDP-2.3.4.0-3485, RHEL7
>            Reporter: Christopher Jackson
>         Attachments: TestService.java, rewrite.xml, service.xml
>
>
> UTF-8 encoded characters in a json response from a REST endpoint are being 
> altered when accessing the endpoint behind the knox gateway. When accessing 
> these endpoints directly the expected response is received.
> Here is a comparison of the responses received when accessing the endpoints 
> using curl:
> Output when NOT accessed through knox gateway (Expected Output)
> HTTP/1.1 200 OK
> X-Powered-By: Servlet/3.0
> Content-Type: application/json
> Content-Length: 24
> Date: Thu, 03 Mar 2016 14:45:23 GMT
> {"value":"ß_SomeLabel"}%
> Output when accessed through knox gateway
> HTTP/1.1 200 OK
> X-Powered-By: Servlet/3.0
> Date: Thu, 03 Mar 2016 14:47:06 GMT
> Content-Type: application/json
> Content-Length: 26
> Server: Jetty(8.1.14.v20131031)
> {"value":"ß_SomeLabel"}%
> I have attached a service.xml, rewrite.xml, and a sample JAX-RS service for 
> testing/troubleshooting purposes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to