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

Issue with External RSS feed block validator.org

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.9.10
    • 1.9.14
    • RSS
    • Linux, PSQL, 1.9.6 (Build: 20091021) or 1.9.10 (Build: 20101025)
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE
    • Hide

      1/ Add a new rss block
      2/ Configure the block
      3/ Click 'edit news feeds'
      4/ Put the url: http://news.lancs.ac.uk/Web/_layouts/LUNews/rss.ashx?S=15&C=63
      5/ Click validate feed

      Expected result:
      The external validator validates the feed specified

      Actual result:
      The validator does not validate the feed because it has part of the string stripped

      Show
      1/ Add a new rss block 2/ Configure the block 3/ Click 'edit news feeds' 4/ Put the url: http://news.lancs.ac.uk/Web/_layouts/LUNews/rss.ashx?S=15&C=63 5/ Click validate feed Expected result: The external validator validates the feed specified Actual result: The validator does not validate the feed because it has part of the string stripped

    Description

      If you add a rss link from Echo 360, it has two links, one for mp3 and another for m4v. If you run these links through the 'Validate Feed' fails because the parameter is stripped off when calling validator.org.

      Fix is to add escape() to the javascript call.

      Attachments

        Activity

          People

            poltawski Dan Poltawski
            tlock Tim Lock
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Rajesh Taneja Rajesh Taneja
            Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10/Oct/11