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

Wiki creole parser encodes single quotes in PHP8.1

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.11.4, 4.0.1
    • 4.1
    • Wiki (2.x)

    Description

      Change in PHP8.1 (see https://github.com/php/php-src/blob/PHP-8.1/UPGRADING )

      htmlspecialchars(), htmlentities(), htmlspecialchars_decode(),
          html_entity_decode() and get_html_translation_table() now use
          ENT_QUOTES | ENT_SUBSTITUTE rather than ENT_COMPAT by default. This means
          that ' is escaped to ' while previously it was left alone.
      

      Attachments

        Activity

          People

            marina Marina Glancy
            marina Marina Glancy
            Paul Holden Paul Holden
            Jake Dallimore Jake Dallimore
            CiBoT CiBoT
            Amaia Anabitarte, Bas Brands, Carlos Escobedo, Laurent David, Raquel Ortega, Sabina Abellan, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              28/Nov/22

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 25 minutes
                2h 25m