Support » Plugins and Hacks » [Plugin: NextGEN Gallery] Bug in “lib/media-rss.php”

  • When Image URI contains an apostrophe the RSS XML is invalid. I changed line 213 from:
    $out .= $indent . "\t<media:content url='" . $image->imageURL . "' medium='image' />\n";
    to:
    $out .= $indent . "\t<media:content url='" . esc_attr($image->imageURL) . "' medium='image' />\n";

    I also did the same for line 216.

    and it now appears to work fine for me.

    http://wordpress.org/extend/plugins/nextgen-gallery/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: NextGEN Gallery] Bug in “lib/media-rss.php”’ is closed to new replies.