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

buggy htmlentities call in mediaplugin filter

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6, 1.9.5
    • Fix Version/s: 1.9.6
    • Component/s: Filters
    • Labels:
      None
    • Environment:
      All
    • Affected Branches:
      MOODLE_16_STABLE, MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      In \filter\mediaplugin\filter.php there is a buggy call to htmlentities which causes the $THEME->filter_mediaplugin_colors parameters to never reach their intended destination, i.e. flashvars.

      Removing line 33: $c = htmlentities($c);

      solves the problem.

      Joseph

        Attachments

          Activity

            People

            Assignee:
            ashleyholman Ashley Holman
            Reporter:
            rezeau Joseph Rézeau
            Tester:
            Dongsheng Cai
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              21/Oct/09