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

YouTube media templates contain unescaped entities

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9.7, 3.0.5, 3.1
    • Fix Version/s: 3.0.6, 3.1.2
    • Component/s: Messages
    • Labels:
    • Testing Instructions:
      Hide
      1. Ensure you have 'Convert URLs into links and images' and 'Multimedia plugins' filters turned on with the URL one listed first.
      2. Visit the messaging page.
      3. Send the URL 'https://www.youtube.com/watch?v=VgGDwYYfayI' to another user.
      4. Check that you do not get the following errors -

      Warning: DOMDocument::loadHTML(): htmlParseEntityRef: expecting ';' in Entity, line: 3 in /var/www/vhosts/prototype.moodle.net/html/new-messaging/lib/weblib.php on line 1324
      

      Show
      Ensure you have 'Convert URLs into links and images' and 'Multimedia plugins' filters turned on with the URL one listed first. Visit the messaging page. Send the URL 'https://www.youtube.com/watch?v=VgGDwYYfayI' to another user. Check that you do not get the following errors - Warning: DOMDocument::loadHTML(): htmlParseEntityRef: expecting ';' in Entity, line: 3 in /var/www/vhosts/prototype.moodle.net/html/new-messaging/lib/weblib.php on line 1324
    • Affected Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_30_STABLE, MOODLE_31_STABLE
    • Pull Master Branch:
      MDL-55587-master
    • Sprint:
      3.2 Sprint 5

      Description

      Fix this.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  12/Sep/16