Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > MISCELLANEOUS > Archives > Bug Report 1.4.x

Post Reply
 
Thread Tools
  #1  
Old 09-20-2005, 06:57 PM
Sourena Offline
forum loafer
 
Join Date: Sep 2005
Location: North Vancouver, CANADA
Posts: 3
Fix for RSS

Hi All,

I had noticed a problem with the RSS feed. The issue was with a malformed xml most commonly by the use of & in the description. I managed to come up with a simple solution. So if you are interested here is the fix:

In line 560 of index.php (version 1.4.2 of course) you will find the code

$body = strip_tags( $body );

You need to replace it with
$body = htmlspecialchars( strip_tags( $body )); //was $body = strip_tags( $body );

Hope this will help all of you.

Cheers,

Sourena
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 05:29 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs