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

Make Alert_on_Unexpected_Content_Types.js more forgiving #8524

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

kingthorin
Copy link
Member

@kingthorin kingthorin commented Jun 18, 2024

  • CHANGELOG > Added change note.
  • Alert_on_Enexpected_Content_Type.js > Leverage "HttpHeader.hasContentType" to be more forgiving.
  • HttpHeaderUnitTest > Add test to ensure behavior is as expected and that vargs will accept an array.

Fixes #8522

@thc202 thc202 changed the title Make Alert_on_Enexpected_Content_Type.js more forgiving Make Alert_on_Unexpected_Content_Types.js more forgiving Jun 19, 2024
@kingthorin
Copy link
Member Author

Fixed

@kingthorin kingthorin force-pushed the docker-script-tweak branch 2 times, most recently from 4bf9635 to aaed3fa Compare June 19, 2024 10:09
docker/CHANGELOG.md Outdated Show resolved Hide resolved
@kingthorin
Copy link
Member Author

CHANGELOG tweaked

- CHANGELOG > Added change note.
- Alert_on_Enexpected_Content_Type.js > Leverage
"HttpHeader.hasContentType" to be more forgiving.
- HttpHeaderUnitTest > Add test to ensure behavior is as expected and
that vargs will accept an array.

Signed-off-by: kingthorin <kingthorin@users.noreply.github.com>
@kingthorin
Copy link
Member Author

Fixed

@thc202
Copy link
Member

thc202 commented Jun 19, 2024

Thank you!

Copy link
Member

@ricekot ricekot left a comment

Choose a reason for hiding this comment

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

Thank you!

@ricekot ricekot merged commit aabd228 into zaproxy:main Jun 20, 2024
13 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jun 20, 2024
@kingthorin kingthorin deleted the docker-script-tweak branch June 20, 2024 09:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

add content-type support for application/taxii+json
3 participants