diff options
author | Matt Holt <mholt@users.noreply.github.com> | 2022-09-29 12:46:38 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-29 12:46:38 -0600 |
commit | 5e52bbb1369b7444700427539e4dd532ed13ac6d (patch) | |
tree | 8a7016ab99d10c2157298bca7d4076969d332122 /modules/caddyhttp/encode/brotli | |
parent | fcdbc69fabd14c6d0b1fe5c5e07490bf27d7f8bd (diff) |
map: Remove infinite recursion check (#5094)
It was not accurate. Placeholders could be used in outputs that are
defined in the same mapping as long as that placeholder does not do the
same.
A more general solution would be to detect it at run-time in the
replacer directly, but that's a bit tedious
and will require allocations I think.
A better implementation of this check could still be done, but I don't
know if it would always be accurate. Could be a "best-effort" thing?
But I've also never heard of an actual case where someone configured
infinite recursion...
Diffstat (limited to 'modules/caddyhttp/encode/brotli')
0 files changed, 0 insertions, 0 deletions