Adds proper encoding if a context/property contains a plus (+) sign. The typical use-case for this is using email aliases such as unleash+1@example.com, feature toggles would fail to evaluate to true if a constraint was added for this userId.
I added some test cases to the unit tests and they are passing, but I'm happy to help refactor if there is a better approach to this.
About the changes
Adds proper encoding if a context/property contains a plus (
+
) sign. The typical use-case for this is using email aliases such as unleash+1@example.com, feature toggles would fail to evaluate to true if a constraint was added for thisuserId
.I added some test cases to the unit tests and they are passing, but I'm happy to help refactor if there is a better approach to this.