From f1002b953d239d743041f658f9098175706eb035 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Mon, 14 Sep 2020 14:13:15 +0100 Subject: [PATCH] Disable Javascript CSRF protection on EnterprisesController#check_permalink route This route checks if an enterprise permalink is taken or not. Allowing the route to be accessed via Javascript without strict CSRF protection is reasonable. Fixes the following errors: ActionController::InvalidCrossOriginRequest: Security warning: an embedded