module

ActionView::Helpers::ContentExfiltrationPreventionHelper

v7.1.3.4 - Show latest stable

No documentation available for this module.

Constants

CLOSE_CDATA_COMMENT = "<!-- </textarea></xmp> -->".html_safe.freeze

CLOSE_FORM_TAG = "</form>".html_safe.freeze

CLOSE_OPTION_TAG = "</option>".html_safe.freeze

CLOSE_QUOTES_COMMENT = %q(<!-- '"` -->).html_safe.freeze

CONTENT_EXFILTRATION_PREVENTION_MARKUP = (CLOSE_QUOTES_COMMENT + CLOSE_CDATA_COMMENT + CLOSE_OPTION_TAG + CLOSE_FORM_TAG).freeze

Files

  • actionview/lib/action_view/helpers/content_exfiltration_prevention_helper.rb