• Resolved dnk6742

    (@dnk6742)


    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:
    http://volkhonkagrand.ru/?post_type=event&&p=201
    (@@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.

    http://wordpress.org/plugins/events-manager-ess/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter dnk6742

    (@dnk6742)

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

    Plugin Author essfeed

    (@essfeed)

    Hi,
    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.

    Thread Starter dnk6742

    (@dnk6742)

    So be it. Thanks for the fix!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘ESS Feed incorrectly shows URL’ is closed to new replies.