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

Wiki will not display image if filename contains uppercase characters in certain positions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • 1.8, 1.9, 1.9.11
    • None
    • Windows, Linux (Ubuntu)
    • MOODLE_18_STABLE, MOODLE_19_STABLE

      If an image is added to a wiki page, either using the image dialog in the HTML editor, or by adding an <img> element to the HTML code, then that image will not display if the image filename matches this pattern:

      ^[A-Z][^A-Z][A-Z][^A-Z].*

      In other words, any filename that starts with one or more uppcase letters, and also contains another group of one or more uppercase letters anywhere except at the end, will fail to display.

      So this is OK:
      ABCd_efg_hIJK.jpg

      but this fails:
      ABCd_eFG_hIJK.jpg

      What happens is that the <img> element is output, but the src attribute is omitted.

      Bizzare!

            Votes:
            11 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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