sensu / sensu-email-handler

Sensu Go Email Handler Plugin
https://sensu.io
MIT License
11 stars 17 forks source link

Use net.JoinHostPort instead of fmt.Sprintf #66

Closed nixwiz closed 3 years ago

nixwiz commented 3 years ago

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

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

jspaleta commented 3 years ago

lgtm

jspaleta commented 3 years ago

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