Module: Breezy::XDomainBlocker

Included in:
Controller
Defined in:
lib/breezy/x_domain_blocker.rb

Overview

Changes the response status to 403 Forbidden if all of these conditions are true:

  • The current request originated from Breezy

  • The request is being redirected to a different domain