Skip to content

Conversation

@tvernum
Copy link
Contributor

@tvernum tvernum commented Aug 20, 2025

This commit limits the maximum depth of a filter expression such as abc.*.d*.*e.f.*

These expressions are most commonly used in filter_path on in a URL, and the limit has been set to 500 - in effect such a filter may only contain 500 . separators between field expressions.

Backport of: #133113

This commit limits the maximum depth of a filter expression such as
`abc.*.d*.*e.f.*`

These expressions are most commonly used in `filter_path` on in a URL,
and the limit has been set to 500 - in effect such a filter may only
contain 500 `.` separators between field expressions.

Backport of: elastic#133113
@tvernum tvernum requested a review from a team as a code owner August 20, 2025 06:21
@tvernum tvernum added >enhancement :Core/Infra/REST API REST infrastructure and utilities backport auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) auto-backport Automatically create backport pull requests when merged v8.18.6 v9.0.6 v9.1.3 v8.19.3 labels Aug 20, 2025
@elasticsearchmachine elasticsearchmachine merged commit c90cb95 into elastic:9.1 Aug 20, 2025
34 checks passed
@tvernum tvernum deleted the backport/9.1/133113-Limit-the-depth-of branch August 20, 2025 07:25
tvernum added a commit to tvernum/elasticsearch that referenced this pull request Aug 20, 2025
This commit limits the maximum depth of a filter expression such as
`abc.*.d*.*e.f.*`

These expressions are most commonly used in `filter_path` on in a URL,
and the limit has been set to 500 - in effect such a filter may only
contain 500 `.` separators between field expressions.

Backport of: elastic#133113
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.18
9.0
8.19

tvernum added a commit to tvernum/elasticsearch that referenced this pull request Aug 20, 2025
This commit limits the maximum depth of a filter expression such as
`abc.*.d*.*e.f.*`

These expressions are most commonly used in `filter_path` on in a URL,
and the limit has been set to 500 - in effect such a filter may only
contain 500 `.` separators between field expressions.

Backport of: elastic#133113
tvernum added a commit to tvernum/elasticsearch that referenced this pull request Aug 20, 2025
This commit limits the maximum depth of a filter expression such as
`abc.*.d*.*e.f.*`

These expressions are most commonly used in `filter_path` on in a URL,
and the limit has been set to 500 - in effect such a filter may only
contain 500 `.` separators between field expressions.

Backport of: elastic#133113
elasticsearchmachine pushed a commit that referenced this pull request Aug 20, 2025
This commit limits the maximum depth of a filter expression such as
`abc.*.d*.*e.f.*`

These expressions are most commonly used in `filter_path` on in a URL,
and the limit has been set to 500 - in effect such a filter may only
contain 500 `.` separators between field expressions.

Backport of: #133113
elasticsearchmachine pushed a commit that referenced this pull request Aug 20, 2025
This commit limits the maximum depth of a filter expression such as
`abc.*.d*.*e.f.*`

These expressions are most commonly used in `filter_path` on in a URL,
and the limit has been set to 500 - in effect such a filter may only
contain 500 `.` separators between field expressions.

Backport of: #133113
elasticsearchmachine pushed a commit that referenced this pull request Aug 20, 2025
This commit limits the maximum depth of a filter expression such as
`abc.*.d*.*e.f.*`

These expressions are most commonly used in `filter_path` on in a URL,
and the limit has been set to 500 - in effect such a filter may only
contain 500 `.` separators between field expressions.

Backport of: #133113
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport :Core/Infra/REST API REST infrastructure and utilities >enhancement v8.18.6 v8.19.3 v9.0.6 v9.1.3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants