Skip to content

feat: update setvar flow#57

Merged
fzipi merged 3 commits into
coreruleset:mainfrom
GSI-Fing-Udelar:main
Oct 18, 2025
Merged

feat: update setvar flow#57
fzipi merged 3 commits into
coreruleset:mainfrom
GSI-Fing-Udelar:main

Conversation

@Agustindeleon
Copy link
Copy Markdown
Collaborator

What

  • update setvar lexer tokens to support collection names, macros, and the assignment operation properly.
  • update lexer modes and parser to prevent setvar action values from being simple strings.

Why

  • setvar action values were being caught by string tokens instead of setvar mode tokens. As a result, the listener was not able to catch data in the expected events.

@Agustindeleon Agustindeleon requested a review from fzipi October 18, 2025 01:50
Copy link
Copy Markdown
Member

@fzipi fzipi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@fzipi fzipi merged commit 18a88c5 into coreruleset:main Oct 18, 2025
4 checks passed
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.

2 participants