ks-advanced-rss: Bypassing Security in item_cleanup function (2 posts)

  1. rjewell
    Posted 8 years ago #

    I've had some issues with feeds that I Trust that I want to give fairly creative output to - i.e. I want to include html tags that actually get parsed, or javascript. A simple solution that I used was to update the item_cleanup function:
    I moved the "some cleanup for security" section below the "apply opts, if given" section, and wrapped it in:
    if (!isset($bypasssecurity)) {
    So, now if i have a feed that I TRUST, I can just [opts:bypasssecurity].

  2. Adam Brown
    Posted 8 years ago #

    Integrated into version 2.1 today. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic