Post by splach » Fri Jan 16, 2009 2:52 pm

if you have a double quote, say for inches, in the product name, when you go to edit the product the name is cut off at the double quote. I am assuming that there needs to be an extra escape added to the quote either when it is being stored or parsed.

Newbie

Posts

Joined
Fri Jan 16, 2009 12:25 pm

Post by JNeuhoff » Fri Jan 16, 2009 7:54 pm

I can confirm this bug for 0.7.9RC6, and propose the following fix:

Replace line 452 in file /admin/controller/product.php

Old line:

Code: Select all

	    		'name'        => (isset($name[$result['language_id']]) ? $name[$result['language_id']] : @$product_description_info['name']),
New line:

Code: Select all

	    		'name'        => htmlentities((isset($name[$result['language_id']]) ? $name[$result['language_id']] : @$product_description_info['name'])),

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by hm2k » Mon Jan 19, 2009 12:06 am

Proper fix in r343.

UK Web Hosting


User avatar
Global Moderator

Posts

Joined
Tue Mar 11, 2008 9:06 am
Location - UK
Who is online

Users browsing this forum: No registered users and 10 guests