mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-13 03:42:35 -06:00
dfb4d0bdcc
I was curious to see how much work this would entail, and it turned out to be... some :) Particularly porting some of the features exposed as settings by gorilla mux, like removing trailing slashes, or escaping `/` in matched paths. This change is breaking by necessity, as some public functions previously accepted arguments straight from the mux library. I don't really see any way around that if we want to get rid of the dependency. I don't think that too many external projects use code from the server directly though, so I'm thinking the impact should be minimal? Happy to hear what others think. Signed-off-by: Anders Eknert <anders@styra.com>