VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 VP-ASP 7.0 Questions
 Single quotes
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

stivercorp
Starting Member

4 Posts

Posted - May 23 2010 :  19:01:37  Show Profile  Reply with Quote
I give up! I have searched the documentation and forums, and I can't find anything on this. When I enter a word in the content manager on page shopa_editcontent.asp, it converts my single quotes to two single quotes. For example, the word can't is changed to can''t when I save it. It the displays it this way on the live webpage. How do I stop it from doing this? I have tried everything I can imagine.

spinobject
Starting Member

USA
21 Posts

Posted - May 23 2010 :  20:55:25  Show Profile  Visit spinobject's Homepage  Reply with Quote
Have you tried using ī instead.... so it would be canīt

gee, it converted it here... so use this with taking out the spaces..

& a c u t e ;

Edited by - spinobject on May 23 2010 20:58:13
Go to Top of Page

stivercorp
Starting Member

4 Posts

Posted - May 23 2010 :  21:10:45  Show Profile  Reply with Quote
I tried that. It displays as can& a c u t e ;t
Go to Top of Page

support
Administrator

4266 Posts

Posted - May 24 2010 :  03:12:42  Show Profile  Visit support's Homepage  Reply with Quote
Hi there

Can you try the following:

Open admin/admin$db.asp and locate around line 3308: within routine function CleanChars

Remove

newchars=replace(newchars,"'","''")

Save and test.

Open shop$db.asp

Locate around line 3356: within routine function CleanChars

Remove

newchars=replace(newchars,"'","''")

Save and test.

Hope this helps.

Thanks
Cam

VPASP Support
Go to Top of Page

stivercorp
Starting Member

4 Posts

Posted - May 24 2010 :  09:33:32  Show Profile  Reply with Quote
The first change fixed it. Thank you! That doesn't leave any security holes does it?
Go to Top of Page

support
Administrator

4266 Posts

Posted - May 25 2010 :  00:49:13  Show Profile  Visit support's Homepage  Reply with Quote
Hi there

This wont cause any security problems.

Thanks
Cam

VPASP Support
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000