Package: ruby-sanitize / 6.0.0-1.1+deb12u1

Metadata

Package Version Patches format
ruby-sanitize 6.0.0-1.1+deb12u1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
no relative path.patch | (download)

test/common.rb | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
Update tests to remove deprecated minitest must_be.patch | (download)

test/test_clean_comment.rb | 32 16 + 16 - 0 !
test/test_clean_css.rb | 10 5 + 5 - 0 !
test/test_clean_doctype.rb | 30 15 + 15 - 0 !
test/test_clean_element.rb | 184 92 + 92 - 0 !
test/test_config.rb | 18 9 + 9 - 0 !
test/test_malicious_css.rb | 14 7 + 7 - 0 !
test/test_malicious_html.rb | 62 31 + 31 - 0 !
test/test_parser.rb | 16 8 + 8 - 0 !
test/test_sanitize.rb | 48 24 + 24 - 0 !
test/test_sanitize_css.rb | 106 53 + 53 - 0 !
test/test_transformers.rb | 74 37 + 37 - 0 !
11 files changed, 297 insertions(+), 297 deletions(-)

 update tests to remove deprecated minitest 'must_be'
Forcibly escape content in unescaped text elements i.patch | (download)

README.md | 19 10 + 9 - 0 !
lib/sanitize/config/default.rb | 5 5 + 0 - 0 !
lib/sanitize/transformers/clean_element.rb | 35 35 + 0 - 0 !
test/test_malicious_html.rb | 86 86 + 0 - 0 !
4 files changed, 136 insertions(+), 9 deletions(-)

 forcibly escape content in "unescaped text" elements inside math or
 svg namespaces
Always remove noscript elements.patch | (download)

README.md | 14 10 + 4 - 0 !
lib/sanitize/transformers/clean_element.rb | 10 10 + 0 - 0 !
test/test_clean_element.rb | 7 7 + 0 - 0 !
test/test_malicious_html.rb | 20 19 + 1 - 0 !
4 files changed, 46 insertions(+), 5 deletions(-)

 always remove `<noscript>` elements
CVE 2023 36823.patch | (download)

lib/sanitize/transformers/clean_css.rb | 1 1 + 0 - 0 !
test/test_malicious_css.rb | 13 13 + 0 - 0 !
2 files changed, 14 insertions(+)

 [patch 1/3] escape `</` to prevent a style element from being closed
 prematurely