Skip to content

[FIX] RTE: Keep large inline images from exhausting PCRE - #12128

Open
mjansenDatabay wants to merge 1 commit into
ILIAS-eLearning:release_10from
mjansenDatabay:hotfix/10/48405
Open

mjansenDatabay wants to merge 1 commit into
ILIAS-eLearning:release_10from
mjansenDatabay:hotfix/10/48405

Conversation

@mjansenDatabay

Copy link
Copy Markdown
Contributor

Match media-object src attributes only up to the closing quote so a data-URI image cannot trip the backtrack limit, and ignore a null preg result instead of throwing a TypeError.

If approved, this has to be picked to all maintained branches.

See: https://mantis.ilias.de/view.php?id=48405

Match media-object src attributes only up to the closing quote so a data-URI image cannot trip the backtrack limit, and ignore a null preg result instead of throwing a TypeError.
@mjansenDatabay mjansenDatabay added bugfix php Pull requests that update Php code Looking for Shepherd labels Sep 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Looking for Shepherd php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant