HTTP_REFERER not properly set in Safari
Safari has issues with our HTTP_REFERER setting of origin-when-cross
origin. In this case any place we have redirect_to :back
in EE an error occurs. To combat this CE has implemented redirect_back_or_default
. EE needs to also use this in EE specific code.