mirror of
https://github.com/moodle/moodle.git
synced 2025-03-06 16:59:56 +01:00
For Dataformats that support exporting HTML content, provide an API for converting images within that content to something suitable for the format. This fixes an issue with the PDF writer when it encountered a pluginfile.php image, which it tried to request via HTTP without an active session. This resulted in a 303 header returned by Moodle instead of the actual image, causing an exception in the underlying TCPDF library.