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

Support empty string in Name.from_rfc4514_string() #10964

Merged
merged 1 commit into from
May 9, 2024

Conversation

intgr
Copy link
Contributor

@intgr intgr commented May 9, 2024

Empty string is a valid result from RFC4514 serialization, and should parse successfully into empty Name.

According to https://datatracker.ietf.org/doc/html/rfc4514#section-2.1

If the RDNSequence is an empty sequence, the result is the empty or zero-length string.

Empty string is a valid result from RFC4514 serialization, and should parse successfully.

According to https://datatracker.ietf.org/doc/html/rfc4514#section-2.1

> If the RDNSequence is an empty sequence, the result is the empty or zero-length string.
@alex alex enabled auto-merge (squash) May 9, 2024 13:52
@alex alex merged commit acc3226 into pyca:main May 9, 2024
58 checks passed
@intgr intgr deleted the from_rfc4514_string-empty-string branch May 9, 2024 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants