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

Multimedia filter cleanup

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.8
    • Component/s: Filters
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE

      Description

      There are several problems with current implementation of multimedia filter in 1.8:

      • xhtml - use <span> instead of <p> - because p can not be used everywhere
      • xhtml - entities in mp3 player
      • potential xss when using javasctipt - always use stripslashes_js() when constructing javascript strings
      • regex not optimal - icorrect use of count, missing dimension option
      • video embedding can be made more compatible

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              skodak Petr Skoda
              Tester:
              Nobody Nobody
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                31/Mar/07