Skip to content

Commit 048a3ea

Browse files
srenatusashutosh-narkar
authored andcommitted
CHANGELOG.md: add file, explain open-policy-agent#256
Signed-off-by: Stephan Renatus <[email protected]>
1 parent d8e5eb9 commit 048a3ea

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file. This
4+
project adheres to [Semantic Versioning](http://semver.org/).
5+
6+
## Unreleased
7+
8+
### Fixes
9+
10+
- Support escaped forward-slashes (`\/`) in JSON request bodies (#256, @Dakatan).
11+
12+
When parsing request bodies of requests with header "Content-Type: application/json",
13+
opa-envoy-plugin had used a utility method from github.com/open-policy-agent/opa that
14+
also accepted YAML. This wasn't an intentional feature, and has been removed.
15+
16+
One side-effect of using that method was that an escaped forward slash, which is
17+
allowed in the JSON spec (but optional, forward slashes *may* be escaped), wasn't
18+
parsed properly, leading to a denying policy response when the request may have
19+
been permissible.

0 commit comments

Comments
 (0)