instance method prevent_content_exfiltration

Ruby on Rails 7.1.6

Since v7.1.6

Available in: v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

prevent_content_exfiltration(html)

No documentation comment.

Parameters

html req
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

Type at least 2 characters to search.

↑↓ navigate · open · esc close