module Doorkeeper::OAuth::Helpers::URIChecker
def self.valid_scheme?(uri)
def self.valid_scheme?(uri) return false if uri.scheme.blank? %w[localhost].exclude?(uri.scheme) end
def self.valid_scheme?(uri) return false if uri.scheme.blank? %w[localhost].exclude?(uri.scheme) end