instance method
prevent_content_exfiltration
Ruby on Rails 7.2.3
Since v7.1.6Signature
prevent_content_exfiltration(html)
No documentation comment.
Parameters
-
htmlreq
Source
# File actionview/lib/action_view/helpers/content_exfiltration_prevention_helper.rb, line 61
def prevent_content_exfiltration(html)
if prepend_content_exfiltration_prevention
CONTENT_EXFILTRATION_PREVENTION_MARKUP + html
else
html
end
end
Defined in actionview/lib/action_view/helpers/content_exfiltration_prevention_helper.rb line 61
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::Helpers::ContentExfiltrationPreventionHelper