Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix escaping of # and space in attrs #408

Conversation

bgraves-lo
Copy link
Contributor

Addresses #398: Net::LDAP::DN.escape() raises a TypeError (no implicit conversion of nil into String) when attempting to escape a space or # at the beginning of the attribute, or a space at the end.

Copy link
Member

@HarlemSquirrel HarlemSquirrel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for taking the time to open this big fix! Nice refctors!

@HarlemSquirrel HarlemSquirrel merged commit 08a8962 into ruby-ldap:master Sep 16, 2022
@bgraves-lo bgraves-lo deleted the 398-escape-raises-error-for-pound-sign branch September 16, 2022 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants