mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-16 13:22:53 -06:00
80eb9be78d
Earlier the paths to the field to perform an upsert or remove operation on were escaped using Go's url.QueryEscape method. This results in incorrect behavior when the paths contain a reserved character like ":". This change updates to using url.PathEscape instead to escape the input and result paths. Fixes: #4717 Signed-off-by: Ashutosh Narkar <anarkar4387@gmail.com>