Skip to content

Conversation

@hnakamur
Copy link
Contributor

what

Extend and adjust existing tests for the SecRequestBodyNoFilesLimit directive in config-body_limits.json to ensure correct handling of edge boundary values.

Also fix the Content-Length of the requests. Note that an LF is added for each line in the body field. see

$ echo "param1=value1&param2=value2&param3=value3" | wc -c
42

why

The existing tests do not cover edge boundary lengths. As a result, we cannot verify whether a request body whose length is exactly equal to SecRequestBodyNoFilesLimit is accepted.

references

None.

Extend and adjust existing tests for the SecRequestBodyNoFilesLimit directive in
config-body_limits.json to ensure correct handling of edge boundary values.
@sonarqubecloud
Copy link

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