branko ajzele, senior developer / project manager

Posts / Articles

Magento 1.2.0 out (found a little bug)

Well, 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.

m120 m120b

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 :)

View Comments

  1. ok, good, anyway for normal people without special coding needings it is all right, I’m right?

  2. 1.2.0.1 is out now, is this fixed?

  3. I wonder if that was intentional to reduce validation issues on the pages?

  4. Hehe, hilarious… “new”, 1.2.0.1 version already up :) Cool

  5. Shouldn’t you replace with htmlentities() so the output is still escaped?

blog comments powered by Disqus