Skip to content
New issue

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

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

Already on GitHub? # to your account

openapi: correct detection while spidering #6260

Merged
merged 1 commit into from
Mar 10, 2025

Conversation

thc202
Copy link
Member

@thc202 thc202 commented Mar 10, 2025

Add missing parentheses so the expression matches the expectations.

Add missing parentheses so the expression matches the expectations.

Signed-off-by: thc202 <thc202@gmail.com>
"not y aml or j son, swagger, false",
"not y aml or j son, openapi, false"
})
void shouldProperlyDetectLikelyOpenApiResource(
Copy link
Member

@kingthorin kingthorin Mar 10, 2025

Choose a reason for hiding this comment

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

+ FromContentType

Copy link
Member

Choose a reason for hiding this comment

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

Since it isn't the body start piece

Copy link
Member Author

Choose a reason for hiding this comment

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

String contentType, String body

Copy link
Member

Choose a reason for hiding this comment

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

Sorry I missed the set body call

@kingthorin kingthorin merged commit 4e80143 into zaproxy:main Mar 10, 2025
9 of 10 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Mar 10, 2025
@thc202 thc202 deleted the openapi/spider branch March 10, 2025 10:39
@psiinon
Copy link
Member

psiinon commented Mar 10, 2025

Logo
Checkmarx One – Scan Summary & Detailsa36d1b2d-d7c3-4dc5-bfb1-5c6b24ba8bd4

Great job, no security vulnerabilities found in this Pull Request

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants