AttrChecker.html dynamic

Rod Widdowson rdw at steadingsoftware.com
Wed Oct 25 06:01:19 EDT 2017


> I am trying to find a way to URLencode the <shibmlp target/> variable in
> the attrChecker.html page, to no avail. The problem are query
> parameters, e.g. the variable would have
> "host/application?param1=val1&param2=val2". I want to use them in an
> URL, like

I don't speak Velocity so take this with a pinch of salt.  You might be able to pop a Java.net.URLEncoder into your custom object (or even collect it directly from within velocity - its static) and call the encode() method on that.  That’s what I'd do in a javascript situation.

Rod



More information about the users mailing list