Skip to content

LDIFParser's handling of controls is odd #644

Description

@mistotebe

Might be too late to change this but the way controls being handled is wrong:

dn: cn=old,cn=baz
control: 1.1 1 AA==
changetype: add

gives: controls=[('1.1', '1', 'AA==')], where anyone sane would expect [('1.1', True, b'\x00')] or 1 instead of True, basically something that you could pass into LDAPObjects' _ext functions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions