class Net::LDAP::Filter
def unescape(right)
- Note: - slawson20170317: Don't attempt to unescape 16 byte binary data which we assume are objectGUIDs
def unescape(right) right = right.to_s if right.length == 16 && right.encoding == Encoding::BINARY right else right.to_s.gsub(/\\([a-fA-F\d]{2})/) { [$1.hex].pack("U") } end end