• 
      

    Fix some improper string types in the LDAP backend.

    Review Request #10474 — Created March 28, 2019 and submitted

    Information

    Review Board
    release-4.0.x

    Reviewers

    The LDAP backend was passing byte strings in some places where Unicode
    strings were needed, and assuming Unicode strings where byte strings
    might be. This wasn't a problem on Python 2, but was on Python 3.

    This updates the known places in the LDAP code where this was impacting
    unit tests, passing and forcing the right string types in these cases.

    Unit tests pass on Python 2/3.

    Summary ID
    Fix some improper string types in the LDAP backend.
    The LDAP backend was passing byte strings in some places where Unicode strings were needed, and assuming Unicode strings where byte strings might be. This wasn't a problem on Python 2, but was on Python 3. This updates the known places in the LDAP code where this was impacting unit tests, passing and forcing the right string types in these cases.
    9fdae810c912ae39bf690e39cdeebaa896357146
    chipx86
    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-4.0.x (43ea8a9)