-
- Downloads
Merge branch 'fix-mermaid-xss' into 'security-10-4'
[10.4] Fix stored XSS in code blocks
Showing
- app/assets/javascripts/render_mermaid.js 3 additions, 0 deletionsapp/assets/javascripts/render_mermaid.js
- changelogs/unreleased/fix-stored-xss-in-code-blocks.yml 5 additions, 0 deletionschangelogs/unreleased/fix-stored-xss-in-code-blocks.yml
- lib/banzai/filter/syntax_highlight_filter.rb 22 additions, 12 deletionslib/banzai/filter/syntax_highlight_filter.rb
- spec/features/markdown/copy_as_gfm_spec.rb 0 additions, 0 deletionsspec/features/markdown/copy_as_gfm_spec.rb
- spec/features/markdown/gitlab_flavored_markdown_spec.rb 0 additions, 0 deletionsspec/features/markdown/gitlab_flavored_markdown_spec.rb
- spec/features/markdown/markdown_spec.rb 0 additions, 0 deletionsspec/features/markdown/markdown_spec.rb
- spec/features/markdown/math_spec.rb 22 additions, 0 deletionsspec/features/markdown/math_spec.rb
- spec/features/markdown/mermaid_spec.rb 24 additions, 0 deletionsspec/features/markdown/mermaid_spec.rb
- spec/lib/banzai/filter/syntax_highlight_filter_spec.rb 54 additions, 3 deletionsspec/lib/banzai/filter/syntax_highlight_filter_spec.rb
File moved
File moved
spec/features/markdown/math_spec.rb
0 → 100644
spec/features/markdown/mermaid_spec.rb
0 → 100644
Please register or sign in to comment