Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ensure response context does not mangle non-ascii characters #2396

Closed
wants to merge 1 commit into from

Conversation

xvrl
Copy link
Member

@xvrl xvrl commented Feb 4, 2016

fixes #2372

@@ -95,11 +97,13 @@ public QueryResource(
{
this.config = config;
this.jsonMapper = jsonMapper;
this.asciiSafeJsonMapper = jsonMapper.copy().configure(JsonGenerator.Feature.ESCAPE_NON_ASCII, true);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There have been a number of fixes for copy() since the 2.4 branch. Notably FasterXML/jackson-databind#696

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be fine since it is just serializing a map

@drcrallen
Copy link
Contributor

BrokerServerViewTest.testMultipleServerAddedRemovedSegment:198 null

@drcrallen drcrallen closed this Feb 4, 2016
@drcrallen drcrallen reopened this Feb 4, 2016
@himanshug
Copy link
Contributor

👍 assuming it is at least manually tested and found working.

@fjy fjy added this to the 0.9.1 milestone Feb 5, 2016
@fjy fjy added the Improvement label Feb 5, 2016
@drcrallen
Copy link
Contributor

@xvrl did you run any tests against this?

@fjy
Copy link
Contributor

fjy commented Feb 11, 2016

@xvrl ?

@fjy fjy modified the milestones: 0.9.2, 0.9.1 Apr 11, 2016
@fjy fjy removed this from the 0.9.2 milestone May 4, 2016
@stale
Copy link

stale bot commented Feb 28, 2019

This pull request has been marked as stale due to 60 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the dev@druid.apache.org list. Thank you for your contributions.

@stale stale bot added the stale label Feb 28, 2019
@stale
Copy link

stale bot commented Mar 7, 2019

This pull request has been closed due to lack of activity. If you think that is incorrect, or the pull request requires review, you can revive the PR at any time.

@stale stale bot closed this Mar 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

improve response context handling of X-Druid-Response-Context header
4 participants