-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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(#3239) NPE, for RegexFilter creator. #3265
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a unit test to see if createFilter
does not throw with all parameters (except regex
) equal to null
?
log4j-core/src/main/java/org/apache/logging/log4j/core/filter/RegexFilter.java
Outdated
Show resolved
Hide resolved
75a5b04
to
39051d2
Compare
@ppkarwasz added the test, and updated the code :) |
@ppkarwasz , this one is still open I will rebase this just for tracking purposes, I do not recall any action items on this would you remember? |
@ppkarwasz I have rebased the commit, let me know if anything else is needed on this or we can close this out. Thanks for this! |
Can you add a changelog entry? |
Sure I should be able to do it tonight
Regards,
Jay Katariya
…On Tue, Jan 7, 2025 at 7:36 AM Piotr P. Karwasz ***@***.***> wrote:
Can you add a changelog entry?
—
Reply to this email directly, view it on GitHub
<#3265 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHVIPUX2I7VBWK2W5I66IPD2JPYAHAVCNFSM6AAAAABS4XAMBWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNZVGU4TOOJUHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@ppkarwasz posted an update . |
Thanks for your contribution! |
fix for #3239
Checklist
2.x
branch if you are targeting Log4j 2; usemain
otherwise./mvnw verify
succeeds (if it fails due to code formatting issues reported by Spotless, simply run./mvnw spotless:apply
and retry)src/changelog/.2.x.x
directory