Skip to content

Fixed NullPointerException identified in bug 1504 #1505

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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

digithead1011
Copy link

This PR fixes issue 1504.

Issue #: 1504

Description of changes:
AwsSpringHttpProcessingUtils has a NPE when the request has a null value for the multi-value headers. This PR checks for null before dereferencing the multi-value headers.

By submitting this pull request

  • [ X ] I confirm that my contribution is made under the terms of the Apache 2.0 license.
  • [ X ] I confirm that I've made a best effort attempt to update all relevant documentation.

Corrected NullPointerException identified in bug 1504
@digithead1011 digithead1011 marked this pull request as draft July 1, 2025 16:41
Now copying single value headers to httpRequest when there are no multi-value headers present in the proxy request
Added unit test for when there are no multivalue headers
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.

1 participant