fix: set default strip_path to true #999
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In the past decK had to set the default value of the
strip_path
field to false because of some limitation in the library used for defaults injection: this was a workaround to allow this field to be set tofalse
. Then, if the field was not set in the configuration, the field was then turned intotrue
at runtime via inspection of the Kong Admin API.This commit changes the decK default for the
strip_path
field totrue
, since now the underlying library has fixed the issue that triggered this workaround in the first place.