Skip to content

Fix a memory leak caused by Banzai::Filter::SanitizationFilter

Ahmad Sherif requested to merge fix/sanitization-filter-leak into master

What does this MR do?

It creates a dup of Banzai::Filter::SanitizationFilter whitelist transformers container to avoid a memory leak (more details in the commit message).

Are there points in the code the reviewer needs to double check?

N/A

Why was this MR needed?

Memory leaks are BAD :)

What are the relevant issue numbers?

N/A

Screenshots (if relevant)

N/A

Does this MR meet the acceptance criteria?

Merge request reports

Loading