Fix some improper string types in the LDAP backend.

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

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.

Commits

Files

    Loading...