config: strip quotes from http redirect addr (#818)

This commit is contained in:
Caleb Doxsey 2020-06-01 08:51:56 -06:00 committed by GitHub
parent 44784e98fe
commit 12e373249b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

View file

@ -581,6 +581,9 @@ func (o *Options) Validate() error {
}
}
// strip quotes from redirect address (#811)
o.HTTPRedirectAddr = strings.Trim(o.HTTPRedirectAddr, `"'`)
RedirectAndAutocertServer.update(o)
err = AutocertManager.update(o)