In: Magento
30 Dec 2008Well, Magento 1.2.0 is out. Just downloaded it, installed and found a little bug
If you go to product view page and look under Additional information section you will see raw HTML outputted to the screen. That is if you have assigned any of the additional information to the product you are viewing.
I provided two of the screenshots for you to see what am I talking about.
And here is one way how you can fix this.
Open the following file
/app/code/core/Mage/Catalog/Block/Product/View/Attributes.php
Now on line 71 you will see the following code
$value = $this->htmlEscape($value);
Just replace it with
$value = $value;
My first impression on new Magento? Behaves faster… not sure, time will show
5 Responses to Magento 1.2.0 out (found a little bug)
luxury furniture
December 30th, 2008 at 2:25 pm
ok, good, anyway for normal people without special coding needings it is all right, I’m right?
Tony
December 30th, 2008 at 6:27 pm
1.2.0.1 is out now, is this fixed?
Frank
December 30th, 2008 at 6:42 pm
I wonder if that was intentional to reduce validation issues on the pages?
branko
December 31st, 2008 at 2:55 am
Hehe, hilarious… “new”, 1.2.0.1 version already up
Cool
Josh Ribakoff
February 3rd, 2009 at 5:49 pm
Shouldn’t you replace with htmlentities() so the output is still escaped?