Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport of treat logical.ErrRelativePath as 400 instead of 500 into …
…release/1.8.x (#14779) * no-op commit due to failed cherry-picking * treat logical.ErrRelativePath as 400 instead of 500 (cherry picked from commit c1e527d) * add changelog entry (cherry picked from commit 550d3aa) * return UserError for logical.ErrRelativePath (cherry picked from commit 154a3a7) * add missing import Co-authored-by: temp <temp@hashicorp.com> Co-authored-by: Chris Capurso <1036769+ccapurso@users.noreply.github.com>
- Loading branch information
1 parent
c2bd0fd
commit 55f8f20
Showing
4 changed files
with
84 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:change | ||
core: A request that fails path validation due to relative path check will now be responded to with a 400 rather than 500. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters