Moodle

lang.php does not preserve &lt; and &gt; entities but transfers them into < and >

Details

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

Description

When lang.php saves the translation file, it converts HTML entities like < and > into < and > characters. This may produce critical error in parsing XML/XHTML document.

It is necessary to preserve HTML entites "as they are" without any transformation.

Issue Links

Activity

Hide
David Mudrak added a comment -

Fixed in 1.92 and 1.88.2.4

Show
David Mudrak added a comment - Fixed in 1.92 and 1.88.2.4
Hide
David Mudrak added a comment -

Closing

Show
David Mudrak added a comment - Closing

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: