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

Fix Truncated JSON literals in Headers Values #1766

Closed
wants to merge 6 commits into from

Conversation

Zighome24
Copy link

Submitted as a resolution of #1464
Compared to previous attempts to solve the issue, this PR utilizes truncated versions of the Public Domain org.json classes to perform JSON validation locally in an efficient manner. This addresses the need to validate JSON as well as the possibility of multiple values existing in the array of headers, not all of which may be JSON literals.

@velo velo requested a review from kdavisk6 September 24, 2022 03:55
@velo
Copy link
Member

velo commented Sep 26, 2022

Pulling a library to core is not an option for the modular architecture of feign.... This should go to a module

Copy link
Member

@velo velo left a comment

Choose a reason for hiding this comment

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

Sorry, feign core must be lightweight and not drag libraries, specially as source code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants