Title-Tag of Pictures in Category-View are not escaped
Posted: 27 Jun 2012, 00:12
Hello, I set up Phoca Gallery on my Joomla 2.5.5.
In Catergory-View I had the Problem, that the description of Pictures was not shown correctly. I checked the source-code and founded, that the title-tag is not escaped.
I found the Bug in following file:
/components/com_phocagallery/views/category/tmpl/default_images.php
On line 40 is written:
I edited this line to:
Now the problem is solved. Please add this solution to your next Update from Phoca Gallery. This component is realy great.
In Catergory-View I had the Problem, that the description of Pictures was not shown correctly. I checked the source-code and founded, that the title-tag is not escaped.
I found the Bug in following file:
/components/com_phocagallery/views/category/tmpl/default_images.php
On line 40 is written:
Code: Select all
echo ' title="'.$value->odesctitletag.'"';Code: Select all
echo ' title="'.htmlentities ($value->odesctitletag, ENT_QUOTES, 'UTF-8').'"';