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

Wrong pattern in remove_entry may delete wrong records #5

Closed
benningm opened this issue Oct 21, 2018 · 0 comments
Closed

Wrong pattern in remove_entry may delete wrong records #5

benningm opened this issue Oct 21, 2018 · 0 comments
Assignees

Comments

@benningm
Copy link
Owner

The pattern

 my @keys = $self->{'redis'}->keys($self->{'prefix'}.$mailaddr.'*');

Just appends a '*' to the mail address. When called with 'test@example.de' it will catch both 'example.de' or 'example.de.com'.

Correct patter should be '|ip=*'.

@benningm benningm self-assigned this Oct 21, 2018
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

No branches or pull requests

1 participant