File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
actionview/lib/action_view/helpers Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,12 @@ module SanitizeHelper
24
24
#
25
25
# Custom sanitization rules can also be provided.
26
26
#
27
+ # <b>Warning</b>: Adding disallowed tags or attributes to the allowlists may introduce
28
+ # vulnerabilities into your application. Please rely on the default allowlists whenever
29
+ # possible, because they are curated to maintain security and safety. If you think that the
30
+ # default allowlists should be expanded, please {open an issue on the rails-html-sanitizer
31
+ # project}[https://github.com/rails/rails-html-sanitizer/issues].
32
+ #
27
33
# Please note that sanitizing user-provided text does not guarantee that the
28
34
# resulting markup is valid or even well-formed.
29
35
#
You can’t perform that action at this time.
0 commit comments