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

Brickfield's img_alt_is_too_long check can fail for multibyte alt texts

XMLWordPrintable

    • 1
    • Team Hedgehogs 2025 Sprint 1.1

      The img_alt_is_too_long check uses strlen(), which can result in a larger number when the alt text contains multibyte strings. We should be using core_text::strlen() to count the alt text length properly, regardless of whether they are multibyte or not.

            jpataleta Jun Pataleta
            jpataleta Jun Pataleta
            Meirza Meirza
            Safat Shahin Safat Shahin
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 8 minutes
                1h 8m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.