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

smtp: fix regression in address type validation #252

Merged
merged 1 commit into from
Jun 10, 2020
Merged

smtp: fix regression in address type validation #252

merged 1 commit into from
Jun 10, 2020

Conversation

zackschuster
Copy link
Collaborator

in my zeal, i changed truthy checks that allowed arrays for recipients to hard type checks. this PR adds array checks to validation, as well as tests to prevent future regressions.

@zackschuster zackschuster requested a review from eleith June 4, 2020 18:18
@zackschuster zackschuster marked this pull request as draft June 4, 2020 18:29
@zackschuster zackschuster removed the request for review from eleith June 4, 2020 18:36
@eleith
Copy link
Owner

eleith commented Jun 4, 2020

lgtm, let me know when this is out of draft

@zackschuster
Copy link
Collaborator Author

@eleith i think this is ready but i need to test in azure a bit more before i'm confident

@eleith
Copy link
Owner

eleith commented Jun 9, 2020

@zackschuster it looks good to me on the surface.

@zackschuster zackschuster changed the title smtp: fix regression in recipient validation smtp: fix regression in address type validation Jun 9, 2020
@zackschuster zackschuster reopened this Jun 9, 2020
@zackschuster zackschuster marked this pull request as ready for review June 9, 2020 14:05
@zackschuster zackschuster requested a review from eleith June 9, 2020 14:05
@zackschuster
Copy link
Collaborator Author

@eleith ready

@eleith eleith merged commit 2b96302 into master Jun 10, 2020
@eleith
Copy link
Owner

eleith commented Jun 10, 2020

@zackschuster i went ahead and merged it. fyi.

@zackschuster
Copy link
Collaborator Author

@eleith yes, i wanted that. thank you :)

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.

2 participants