Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6650 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I'm trying to put an email address into a token. The @ keeps converting to its hex code: %40, then every time the token is carried to the next page, the % also converts to its hex code %25, so eventually I end up with %25252540 when it should just be an @.

I would like to try inserting the &___; code for it initially to see if that solves the problem, but I can't find it anywhere (I can find the ampersand code for just about everything else but that). Does anyone know it?

Or does anyone have any other ideas on how to solve this problem?

Posted (edited)

I would never ever pass an e-mail address in a token, i.e. in an URL - this is a high security risk because the URL can be spoofed, e.g. somebody can enter another address and abuse your mailing system.

Use a field or a session for passing the address to the next page.

Anyway, when you pass a value in an URL, you can encode it with

fmxslt:url_encode()

and decode it on the next page with

fmxslt:url_decode()

Edited by Guest
  • Newbies
Posted (edited)

Can you elaborate with some code examples?

I am interested in learning more techniques for securing email transmissions. I have built a login db which uses the users email as the username. So I am using their email to pass to my find query in xsl. How can I avoid this?

Edited by Guest

This topic is 6650 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.