# File lib/openid/consumer/idres.rb, line 139
      def verify_return_to
        begin
          msg_return_to = URI.parse(fetch('return_to'))
        rescue URI::InvalidURIError
          raise ProtocolError, ("return_to is not a valid URI")
        end

        verify_return_to_args(msg_return_to)
        if !@current_url.nil?
          verify_return_to_base(msg_return_to)
        end
      end