method

_filtered_referrer

Importance_0
v5.1.7 - Show latest stable - 0 notes - Class: ActionView::Helpers::UrlHelper
_filtered_referrer() protected

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionview/lib/action_view/helpers/url_helper.rb, line 48
      def _filtered_referrer # :nodoc:
        if controller.respond_to?(:request)
          referrer = controller.request.env["HTTP_REFERER"]
          if referrer && URI(referrer).scheme != "javascript"
            referrer
          end
        end
      rescue URI::InvalidURIError
      end
Register or log in to add new notes.