class ActiveLdap::Configuration::ClassMethods::URIConfigurationMerger

def parse_extensions

def parse_extensions
  extensions = {}
  (@uri.extensions || "").split(",").collect do |extension|
    name, value = extension.split("=", 2)
    case name
    when /\A!/
      critical = true
      name = $POSTMATCH
    else
      critical = false
    end
    extensions[name] = {
      :critical => critical,
      :value => CGI.unescape(value || ""),
    }
  end
  extensions
end