VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: Elnino on December 22, 2011, 23:55:40 PM

Title: [fixed] Product title with double quotes (") are stripped off
Post by: Elnino on December 22, 2011, 23:55:40 PM
Running VM2.0.0 final.
Some of my products contains double quotes in the product title.

They are similar to that:

Bol "antique"

On the listing the product title appears well. When I click on the product to edit it then everything between the double quotes are stripped off and my product name becomes only:

Bol

Then in my page edition if I edit my product name and put

Bol "antique"

in the product name field, the right name is saved again. If I forgot to change it every time I go in the product edition section then the new product name is

Bol

There's definitely a prob with double quotes on the product edition page.

Cheers.
Title: Re: Product title with double quotes (") are stripped off
Post by: Elnino on December 23, 2011, 00:05:11 AM
Same prob for category name!
Title: Re: Product title with double quotes (") are stripped off
Post by: Studio 42 on December 23, 2011, 09:32:28 AM
Fixed in svn files
TKs for reply
Title: Re: [fixed] Product title with double quotes (") are stripped off
Post by: ConstantA on January 07, 2012, 14:51:13 PM
Quote from: Electrocity on December 23, 2011, 09:32:28 AM
Fixed in svn files
TKs for reply
It'll be great if somebody also html encoded strings with double quotes in output. Right now <img> title attribute breaks if product title has double quotes.