Skip to content

Conversation

Prathmesh5-alt
Copy link

This PR adds the **do_blocks()** function to the $customAutoEscapedFunctions array inside EscapeOutputSniff.php.
Since do_blocks() returns pre-escaped block HTML, this prevents false positives during static analysis.

Fixes

Fixes #2524

@dingo-d
Copy link
Member

dingo-d commented Jul 22, 2025

Closing as duplicate of #2525. Please search if a PR is open before opening a new/same PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add do_blocks to the $autoEscapedFunctions list
3 participants