Skip to content

ClientYamlTestClient can send too-long requests #65718

@romseygeek

Description

@romseygeek

Our YAML tests will randomly try and send a request body as a URL-encoded set of query parameters instead. There is a hard limit on how long an HTTP query string can be, and so the method ClientYamlTestClient#sendBodyAsSourceParam checks the size of the body and aborts if it is too long. However, this check does not take into account URL encoding, which means that a request body containing a large number of characters that need to be encoded can end up being longer than the HTTP query string limit.

Metadata

Metadata

Assignees

Labels

:Delivery/BuildBuild or test infrastructure>bug>testIssues or PRs that are addressing/adding testsTeam:DeliveryMeta label for Delivery team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions