Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Message area of Gift Certificates
Author « Topic »  

steven vaccaro
Ecommerce Template Guru

USA
1009 Posts

Posted - 01/04/2022 :  07:18:35  
When someone purchases a gift cert, Is there a way to prevent html and other code from being entered into the "message" area? Limit it to text only?

Vince
Administrator

42488 Posts

Posted - 01/05/2022 :  03:36:13  
Hi Steven
When gift certificates are created all html / script tags are stripped from the messages.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

steven vaccaro
Ecommerce Template Guru

USA
1009 Posts

Posted - 01/05/2022 :  07:18:38  
Here is an example of the latest one. Can code be injected this way and cause problems?

Prices range from 1 and go up to 30. https://ver-de-soft.com The good news is that a daily draw has a guaranteed fund, which is more modest than the promised jackpot. <a href=https://ver-de-soft.com>west virginia casino hotel</a>

dbdave
ECT Moderator

USA
10292 Posts

Posted - 01/05/2022 :  11:04:20  
No, code cannot be injected this way.
That's why you see the actual code rendered as text. Otherwise, if the entry were not sanitized, you would just see the text "west virginia casino hotel" as a clickable link.

All forms in the shopping cart are sanitized for malicious input.

Thanks,
David

steven vaccaro
Ecommerce Template Guru

USA
1009 Posts

Posted - 01/05/2022 :  11:17:05  
Thanks you for the info
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000