diff options
author | Bill Glover <bill@billglover.co.uk> | 2020-03-08 21:36:59 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-08 15:36:59 -0600 |
commit | 36a6c7daf0f45353efe860e254aa148b7574b04e (patch) | |
tree | 4f1aefd250dcbef27a060047663da20a48eb8e91 /cmd/caddy | |
parent | ca6e54bbb8ab2bad3cc9192bd4857be7e9501c6c (diff) |
Rework Replacer loop to handle escaped braces (#3121)
Fixes #3116
* Rework Replacer loop to ignore escaped braces
* Add benchmark tests for replacer
* Optimise handling of escaped braces
* Handle escaped closing braces
* Remove additional check for closing brace
This commit removes the additional check for input in which the closing
brace appears before the opening brace. This check has been removed for
performance reasons as it is deemed an unlikely edge case.
* Check for escaped closing braces in placeholder name
Diffstat (limited to 'cmd/caddy')
0 files changed, 0 insertions, 0 deletions