Any alternate for GlideStringUtil.urlEncode(value)?

HarshTimes
Tera Guru

Is there any alternate for GlideStringUtil.urlEncode(value)? This is not working in scoped application

3 REPLIES 3

Chuck Tomasi
Tera Patron

JavaScript has one built in.



You might find this helpful.



JavaScript encodeURIComponent() Function


Hi Chuck,



I am facing a similar issue after upgrading to Jakarta and we are using the GlideStringUtil.urlEncode(value) block. But the Javascript api is not working either. upon investigation we found that amp%3B string is getting amended in the URL twice. Can you redirect us to a direction where we can find a solution?


See my response on your other thread.