caddy-dns / porkbun

MIT License
27 stars 8 forks source link

Trim whitespace after replacing placeholders #14

Open MerlinDaWizard opened 2 months ago

MerlinDaWizard commented 2 months ago

This tripped me up when reading the keys from a file using a placeholder (see https://github.com/caddyserver/caddy/pull/5463) due to the ending newline which the majority of text editors added.

Realistically, I don't see much of a negative to trimming or atleast trimming newlines (this pull request does all whitespace).