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

[Backport 2.11-with-features] [Backport 2.11] Add throw for empty strings in rules with modifier contains, startwith, and endswith #922

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport efade2c from #885

…h, and endswith (#860) (#885)

* add validation for empty strings with contains, startswith and endswith modifiers

Signed-off-by: Joanne Wang <[email protected]>

* throw exception if empty string with contains, startswith, or endswith

Signed-off-by: Joanne Wang <[email protected]>

* change var name

Signed-off-by: Joanne Wang <[email protected]>

* add modifiers to log

Signed-off-by: Joanne Wang <[email protected]>

---------

Signed-off-by: Joanne Wang <[email protected]>
(cherry picked from commit f4ee7bb)

Co-authored-by: Joanne Wang <[email protected]>
(cherry picked from commit efade2c)
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