Project

General

Profile

Actions

Bug #4643

closed

Retrieving Optional LDAP attributes fails with "interning empty string" on 1.8.7

Added by Stephen Benjamin about 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Authentication
Target version:
Difficulty:
trivial
Triaged:
Fixed in Releases:
Found in Releases:

Description

Need to check if value is blank before checking entry[value].empty?

[3] pry(#<AuthSourceLdap>)> entry[value].empty?
ArgumentError: interning empty string
from /home/dcleal/.rvm/gems/ruby-1.8.7-p374@foreman/gems/net-ldap-0.3.1/lib/net/ldap/entry.rb:88:in `to_sym'
Actions

Also available in: Atom PDF