> I use <a > href="setquotedefaults.cfm?quotefrom=#quotefrom#">Quote > creation successful. Click here to continue</a> > > Now, the problem that I have is if the user entry contains > any special characters like & or " setquotedefaults.cfm only > reads up to the special character and truncates the rest. I > have checked the program that is passing the info and the > bottom gray bar on my IE browser shows the correct path, > program and values. I have also checked my SQL tables and > the data was added properly (Text with the special characters). > What do I need to do to stop the truncating?
To embed URL metacharacters within an HREF attribute, use the URLEncodedFormat function: <a href="setquotedefaults.cfm?quotefrom=#URLEncodedFormat(quotefrom)#"> Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212586 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

