diff options
author | Matt Holt <mholt@users.noreply.github.com> | 2020-10-28 20:36:00 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-28 20:36:00 -0600 |
commit | db4f1c02772dfd1f50bd745b322be1b60c72ac41 (patch) | |
tree | 2658205ada92a332822aa78f88d69a0fe9120453 /modules/caddyhttp/caddyauth | |
parent | b6e96d6f4a55f96ccbb69f112822f0a923942246 (diff) |
httpcaddyfile: Revise automation policy generation (#3824)
* httpcaddyfile: Revise automation policy generation
This should fix a frustrating edge case where wildcard subjects are
used, which potentially get shadowed by more specific versions of
themselves; see the new tests for an example. This change is motivated
by an actual customer requirement.
Although all the tests pass, this logic is incredibly complex and
nuanced, and I'm worried it is not correct. But it took me about 4 days
to get this far on a solution. I did my best.
* Fix typo
Diffstat (limited to 'modules/caddyhttp/caddyauth')
0 files changed, 0 insertions, 0 deletions