Skip to content

lib/logstorage: reject whitespace before LogsQL filter function args#1386

Open
func25 wants to merge 2 commits into
masterfrom
strict-func-call-space
Open

lib/logstorage: reject whitespace before LogsQL filter function args#1386
func25 wants to merge 2 commits into
masterfrom
strict-func-call-space

Conversation

@func25
Copy link
Copy Markdown
Member

@func25 func25 commented May 6, 2026

Makes the LogsQL parser stricter by returning a parse error when there is whitespace between a filter function name and the opening parenthesis, such as ip:ipv4_range (1.2.3.4, 5.6.7.8)

Fixes #1385

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

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

No issues found across 3 files

@func25 func25 force-pushed the strict-func-call-space branch from 3c49c72 to fdd8ce4 Compare May 6, 2026 13:25
Signed-off-by: Phuong Le <39565248+func25@users.noreply.github.com>
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.

logsql: reject whitespace before filter function calls

1 participant