mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-11 00:57:00 +02:00
* Regexp metacharacter `.` should be escaped when used literally The paths including `/.well-known/` in the Vault API could currently technically be invoked with any random character in place of the dot. * Replace implementation of OpenAPI path translator with regexp AST-based one * Add changelog * Typo fix from PR review - thanks! Co-authored-by: Anton Averchenkov <84287187+averche@users.noreply.github.com> * Add comment based on review feedback * Change style of error handling as suggested in code review * Make a further tweak to the handling of the error case * Add more tests, testing cases which fail with the previous implementation * Resolve issue with a test, and improve comment --------- Co-authored-by: Anton Averchenkov <84287187+averche@users.noreply.github.com> |
||
---|---|---|
.. | ||
testdata | ||
backend_test.go | ||
backend.go | ||
field_data_test.go | ||
field_data.go | ||
field_type.go | ||
filter.go | ||
identity_test.go | ||
identity.go | ||
lease_test.go | ||
lease.go | ||
openapi_test.go | ||
openapi.go | ||
path_map_test.go | ||
path_map.go | ||
path_struct_test.go | ||
path_struct.go | ||
path_test.go | ||
path.go | ||
policy_map_test.go | ||
policy_map.go | ||
secret_test.go | ||
secret.go | ||
template.go | ||
testing.go | ||
wal_test.go | ||
wal.go |