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

Fix s() hex entity handling, and improve performance

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.3.6, 2.4.3
    • Fix Version/s: 2.3.7, 2.4.3
    • Component/s: Libraries
    • Labels:

      Description

      The regex is currently "/&#(\d+|x[0-7a-fA-F]+);/i", "&#$1;"

      • we have /i, but a-fA-F
      • why do we have 0-7, not 0-9?

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    18/Mar/13