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

Use net.JoinHostPort instead of fmt.Sprintf #66

Merged
merged 1 commit into from
Feb 26, 2021

Conversation

nixwiz
Copy link
Contributor

@nixwiz nixwiz commented Feb 23, 2021

Per semgrep, replace fmt.Sprintf of Host and Port with net.JoinHostPort

Signed-off-by: Todd Campbell todd@sensu.io

Signed-off-by: Todd Campbell <todd@sensu.io>
@jspaleta
Copy link
Contributor

lgtm

@jspaleta
Copy link
Contributor

i just did a local test by sending myself an email via gmail's smtp server.
Going to commit.

@jspaleta jspaleta merged commit 4067644 into main Feb 26, 2021
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