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

Fix an issue with type conversions #4

Merged
merged 1 commit into from
May 29, 2024
Merged

Conversation

bernd
Copy link

@bernd bernd commented May 29, 2024

The Match#capture method had a bug where it didn't remove the type conversion suffix of the field name when there was no match in the tested string.

The Matcher now correctly removes the type suffix from the field name when there is no match for the sub-pattern.

Refs Graylog2/graylog2-server#18883
Refs Graylog2/graylog2-server#18898

The Match#capture method had a bug where it didn't remove the type
conversion suffix of the field name when there was no match in the tested
string.

The Matcher now correctly removes the type suffix from the field name
when there is no match for the sub-pattern.

Refs Graylog2/graylog2-server#18883
Refs Graylog2/graylog2-server#18898
@bernd bernd requested review from kroepke and thll May 29, 2024 09:31
Copy link

@thll thll left a comment

Choose a reason for hiding this comment

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

LGTM

@bernd bernd merged commit 6bbfb99 into repackaged2 May 29, 2024
3 checks passed
@bernd bernd deleted the fix/conversion-issue branch May 29, 2024 10:16
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