8
Views
2
Comments
UrlEncode
Question
Does the UrlEncode function use HttpUtility.UrlEncode(string)?

I'm guessing it does, but I need to be sure.
2011-08-23 22-04-05
Tiago Simões
Staff
Hi Carlos,

Yes, in the .NET version of the platform it does.

Cheers,
Tiago Simões
2011-06-15 10-49-56
AcacioPN
Staff
Hi Carlos

Following what Tiago said, I'd say you can safely use the Urlencode action assuming it uses the function from HttpUtilities.

However,if you MUST be sure that ONLY THAT FUNCTION is called, I would recommend creating an extension action that uses the function you wish: if, for some reason (like fixing a bug or design choice) OutSystems needs to change the implementation of this action in a future version, you might be caught unaware.
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.