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

Issue-1759 Fixing NLP for invalid cookie value #1782

Merged
merged 2 commits into from
Oct 2, 2021

Conversation

Nishant-sehgal
Copy link
Contributor

@Nishant-sehgal Nishant-sehgal commented Oct 2, 2021

If An invalid header is set a NLP exception is thrown.

Karate internally uses ClientCookieDecoder.STRICT.decode(value) to parse the cookies and whenever an Invalid Cookie is set it return null and code fails with NLP while calling cookie.name()

Before the change it fails with NLP:

Screenshot 2021-10-02 at 2 48 14 PM

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.

None yet

2 participants