-
-
Notifications
You must be signed in to change notification settings - Fork 200
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
Restore audit wildcard-support #727
Conversation
Signed-off-by: Kevin 'silibum' Böhme <kboehme@silibum.de> Signed-off-by: DL6ER <dl6er@dl6er.de>
Signed-off-by: DL6ER <dl6er@dl6er.de>
@silibum Please review my proposed changes. You can even test this yourself when running
(note that this does only work when you are already on the beta testing branches). I changed three things in here:
|
Hey, looks good. Compiled and running without any issue - I "missed" to test the non prefixed version: I have 122 entries in my table and just noticed that are 0 non prefixed... I don't use the AdminLTE for adding to the list (now I use phpLiteAdmin and before I edited the .list-file) - Wrong testing 👎 Comments - Yeah not everyone knows what that query does - just thought it was self explaining enough but better to comment that query a bit. Thanks for the fixing/improving - looks solid. Credits aren't important to me (specially because this wasn't 100% tested before submitting) - I (and I'm sure many others) just like to retain wildcard-support with v5.x ;-) |
This pull request has been mentioned on Pi-hole Userspace. There might be relevant details there: |
By submitting this pull request, I confirm the following:
How familiar are you with the codebase?:
10
With Pi-hole v4.x we had wildcard-support in the audit log. When migrating this list into the database, we lost this ability. This PR is the successor of #722 which aimed at restoring this feature. A few changes were necessary that exceeded Github's ability to suggest changes so I moved this into a new PR, preserving the OP's authorship of the first commit.
This PR is milestoned for still being included in the v5.0 release.