Conversation
That space doesn't seem to be covered by the RFC. See: https://www.ietf.org/rfc/rfc4514.txt Specifically, the example: UID=jsmith,DC=example,DC=net
|
@intgr, is this your read of the RFC? (If this is indeed a change we want to make the tests will need to be updated to pass with the new form) |
|
Oh, I could have sworn that whitespace between separators was allowed by RFC 4514 but it's really vague about that. It's merely hinted in a few places, such as the rules for escaping leading/trailing spaces and the excerpt below. As much as I like the spaces for readability, for better compliance, I agree it's best to remove them. I must have remembered that from RFC 2253 instead (which 4514 is based on), that states:
The closest thing in RFC 4514 is:
|
|
@blaggacao Do you want to finish this yourself (fixing the tests) or shall I? |
|
@intgr I guess I'm not really acquainted with the this library, just spotted this in a debugging journey. It would be best you finish this off. |
RFC 4514 does not explicitly allow whitespace between separators: https://tools.ietf.org/html/rfc4514 Reported-by: David Arnold <dar@xoe.solutions>
RFC 4514 does not explicitly allow whitespace between separators: https://tools.ietf.org/html/rfc4514 Reported-by: David Arnold <dar@xoe.solutions>
|
I had to create a new pull request for this, see: #4646 |
|
Cool! So I close this one. |
RFC 4514 does not explicitly allow whitespace between separators: https://tools.ietf.org/html/rfc4514 Reported-by: David Arnold <dar@xoe.solutions>
) RFC 4514 does not explicitly allow whitespace between separators: https://tools.ietf.org/html/rfc4514 Reported-by: David Arnold <dar@xoe.solutions>
That space doesn't seem to be covered by the RFC.
See: https://www.ietf.org/rfc/rfc4514.txt
Specifically, the example: UID=jsmith,DC=example,DC=net