JigoShop doesn’t handle special characters and escaping them properly [Bug]
-
This one isn’t a huge deal but it’s consistently reproducible so I thought I’d best report it.
This applies both to product names and customer details in an order. Probably other areas too.
First the product example:
“Fox Box Orc Piecemaka’ Scout Tank”
https://fox-box.co.uk/product/fox-box-orc-piecemaka-scout-tank/When I named the product and hit “publish” JigoShop added an escaping character making the name on the shop:
"Fox Box Orc Piecemaka\' Scout Tank"
Editing it to remove the escaping character didn’t work. Saving multiple times escaped the escape character to the point where the product name ended up like this:
“Fox Box Orc Piecemaka\\\\’ Scout Tank”
The way to get around this is that each time I edit the product I have to pop in the ASCII code for an apostrophe.
“Fox Box Orc Piecemaka&\#039; Scout Tank”
(without the \ – I had to put it in or this site just renders the apostrophe!)When the page reloads it’ll have replaced the code with an apostrophe. Updating it again causes the escape characters to return!
This same problem extends to the some sections of order forms. I don’t want customers to give me their phone number (that’s another bug – I can’t decide that I don’t want that field to be mandatory!) so I have something that tells them to put whatever they like there.
One customer put in a joke with “How’s” in it. After updating the order a few times it now looks like this:
How\\\\\\\’s about that for rubbish lol?
Looks like the problem isn’t just in product names!
- The topic ‘JigoShop doesn’t handle special characters and escaping them properly [Bug]’ is closed to new replies.