Skip to content

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