The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Events Manager ESS
[resolved] ESS Feed incorrectly shows URL (4 posts)

  1. dnk6742
    Posted 2 years ago #

    Thank you for the plugin.

    I have problem with the feed. It seems to double-run the htmlspecialchars() function. URL in the feed looks as follows:
    (@@amp;amp; where @ substitutes &).
    Changing FeedWriter.php line 742 from $nodeText .= htmlspecialchars( $tagContent, ENT_NOQUOTES ) to
    $nodeText .= $tagContent helps, yet "&" still shouldn't show up in the URL, AFAIK.

    Please fix the problem since the plugin - as well as EM itself is awesome and I'd be glad to buy the full version.


  2. dnk6742
    Posted 2 years ago #

    Adding double_encode = false as fourth parameter to all htmlspecialchars () calls helps to fix the problem.

  3. essfeed
    Plugin Author

    Posted 2 years ago #

    I've look closer to your bug report and I've placed the fourth parameter as you suggested to False with the ENT_QUOTES constant:
    $nodeText .= htmlspecialchars( $tagContent, ENT_QUOTES, self::CHARSET, FALSE )

    we have to leave the htmlspecialchars because in some cases the XML file can't be displayed if the chars & in not properly encoded as &

    Thanks for your report.

  4. dnk6742
    Posted 2 years ago #

    So be it. Thanks for the fix!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Events Manager ESS
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic