OWASP/owasp-java-encoder

Private constructor prevents Encoder from being used in script bindings

veita opened this issue · 3 comments

veita commented

Due to its private constructor Encoder cannot be used in scripting language bindings that require an object.

Not a lot to go on here, @veita

Some kind of example code? I've used this in Grails applications and never had a problem.

veita commented

As an example consider access to the Encoder via an accessor object in Velocity context.

However, in my case I decided to wrap the Encoder in an own class for different null value processing. So this is no longer an issue for me.

Looks like we can close this out.