Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-46286

Add allowed URI scheme for RTMP streams in HTML Purifier library

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.8
    • 2.7
    • Libraries
    • MOODLE_27_STABLE
    • MOODLE_28_STABLE
    • MDL-46286-master
    • Hide

      PHPUnit test included in patch.

      To test manually would require the installation of an RTMP filter/player such as https://moodle.org/plugins/view.php?plugin=filter_rtmp.

      • Install RTMP filter/player as above.
      • Disable trusted content or log in as a user without the 'trustcontent' capability.
      • Add a forum post and include a link to an RTMP stream.
      • Save the post and make sure the linked stream is displayed in a suitable embedded multimedia player.
      Show
      PHPUnit test included in patch. To test manually would require the installation of an RTMP filter/player such as https://moodle.org/plugins/view.php?plugin=filter_rtmp . Install RTMP filter/player as above. Disable trusted content or log in as a user without the 'trustcontent' capability. Add a forum post and include a link to an RTMP stream. Save the post and make sure the linked stream is displayed in a suitable embedded multimedia player.

      Currently, including an RTMP stream in a forum post results in the href attribute being removed by HTML Purifier (unless trusted content is enabled and the user has the 'trustcontent' capability).

      This patch adds an allowed URI scheme to HTML Purifier which enables any user to include RTMP streams in their posts.

            tonybutler Tony Butler
            tonybutler Tony Butler
            Petr Skoda Petr Skoda
            Dan Poltawski Dan Poltawski
            Andrew Lyons Andrew Lyons
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.