diff options
author | Ahmad Sherif <me@ahmadsherif.com> | 2016-09-21 15:55:04 +0200 |
---|---|---|
committer | Ahmad Sherif <me@ahmadsherif.com> | 2016-09-23 15:29:28 +0200 |
commit | ca823abacd85f3b78d4b0aeb3e07fdc7a39f090d (patch) | |
tree | 6c1842084325cfd307e8c5d270f61732370d743f /shared | |
parent | 0fe33f925a26c5004080a0102e6665fc8012a67d (diff) | |
download | gitlab-ce-ca823abacd85f3b78d4b0aeb3e07fdc7a39f090d.tar.gz |
Fix the leak mentioned in 504a3b5 by another way
The previous fix introduced another leak; as it made
Banzai::Filter::SanitizationFiler#customized? always return false, so we
were always appending two elements to
HTML::Pipeline::SanitizationFilter::WHITELIST[:elements]. This growth in
the elements array would slow the sanitization process over time.
Diffstat (limited to 'shared')
0 files changed, 0 insertions, 0 deletions