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 bug 159, add glob support to headers_remove #73

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

pstray
Copy link
Contributor

@pstray pstray commented Jan 23, 2020

This PR will fix the code to allow for both * as a glob in headers_remove and change the splitting of the list to after expansion has been done to allow for inclusion of expandos that results in lists themselves.

If the whole list is expanded before the list is split, it enables
inclusion of expandos that themselves are lists.  The original behaviour
would result in such expandos to be treated as one header instead of the
list it should have been.
The ability to use * as a suffix in removal of headers fixes
https://bugs.exim.org/show_bug.cgi?id=159

If one of the headers to remove ends in *, the header checked is removed
if it matches the prefix (header without the *)
@pstray
Copy link
Contributor Author

pstray commented Jan 23, 2020

Also added to https://bugs.exim.org/show_bug.cgi?id=159#c6

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.

1 participant