URL Encoding using esapi.jar failed at Idp 3.1.1

Cantor, Scott cantor.2 at osu.edu
Thu Jun 25 09:49:32 EDT 2015


On 6/25/15, 5:46 AM, "users on behalf of Surinaidu Majji" <users-bounces at shibboleth.net on behalf of pioneer.suri at gmail.com> wrote:



>        Since we used one of the API("ESAPI.encode()") from "esapi-2.1.jar" to encode the url, we have placed the esapi-2.1.jar in the "IDP" folder(idP-3.1.1)

That's wrong. Whenever you get the urge to copy a jar, if it's not a JAAS module or a JDBC driver, just stop.

An object of this class:

net.shibboleth.utilities.java.support.codec.HTMLEncoder


is exposed to every view in a variable called "encoder".

-- Scott



More information about the users mailing list