Skip to content

Use rabbit_re in JMS plugin (backport #16951)#16955

Merged
michaelklishin merged 3 commits into
v4.3.xfrom
mergify/bp/v4.3.x/pr-16951
Jul 15, 2026
Merged

Use rabbit_re in JMS plugin (backport #16951)#16955
michaelklishin merged 3 commits into
v4.3.xfrom
mergify/bp/v4.3.x/pr-16951

Conversation

@mergify

@mergify mergify Bot commented Jul 15, 2026

Copy link
Copy Markdown

This is an automatic backport of pull request #16951 done by [Mergify](https://mergify.com).

acogoluegnes and others added 3 commits July 15, 2026 17:30
(cherry picked from commit ecb72fe)
Use `rabbit_re:compile/1` and `rabbit_re:run/3` in `sjx_evaluator`
instead of calling `re:compile/1` and `re:run/3` directly, so that
selector patterns get the same defensive limits already applied
elsewhere in the codebase.

Also validate that every LIKE/regex pattern in a selector compiles
successfully in `validate_binding/2`, so an invalid or oversized
pattern is rejected when the binding is created rather than the
first time a message is evaluated against it.

(cherry picked from commit beb2ea8)
@mergify

mergify Bot commented Jul 15, 2026

Copy link
Copy Markdown
Author

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@michaelklishin michaelklishin added this to the 4.3.3 milestone Jul 15, 2026
@michaelklishin
michaelklishin merged commit 5ec9b3e into v4.3.x Jul 15, 2026
186 checks passed
@michaelklishin
michaelklishin deleted the mergify/bp/v4.3.x/pr-16951 branch July 15, 2026 18:06
michaelklishin added a commit that referenced this pull request Jul 16, 2026
Use rabbit_re in JMS plugin (backport #16951) (backport #16955)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants