you sure? there is a difference in padding, as well, it seems. On Tue, Jun 16, 2020 at 12:44 PM Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote:
> On 6/16/20 9:24 AM, Mike Kerner via use-livecode wrote: > > does anyone have a routine to do base64urlencoding? it's not the same as > > base64encoding or urlencoding. > > > > It mostly is the same. Does this do the trick? > > function base64urlencode pString > local tEncoded > > put base64encode(pString) into tEncoded > replace "+" with "-" in tEncoded > replace "/" with "_" in tEncoded > replace "=" with "" in tEncoded > return tEncoded > end base64urlencode > > -- > Mark Wieder > ahsoftw...@gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode