Page 1 of 1

Title-Tag of Pictures in Category-View are not escaped

Posted: 27 Jun 2012, 00:12
by lacoste89
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:

Code: Select all

echo ' title="'.$value->odesctitletag.'"';
I edited this line to:

Code: Select all

echo ' title="'.htmlentities ($value->odesctitletag, ENT_QUOTES, 'UTF-8').'"';
Now the problem is solved. Please add this solution to your next Update from Phoca Gallery. This component is realy great.

Re: Title-Tag of Pictures in Category-View are not escaped

Posted: 27 Jun 2012, 20:37
by Jan
Hi, thank you for this info.

Jan

Re: Title-Tag of Pictures in Category-View are not escaped

Posted: 04 Jul 2012, 10:48
by Jan
Hi, set in 3.2.1

Jan