Skip to content

Encode LDAP attributes as UTF-8 instead of ASCII#42

Merged
BigSpaceships merged 1 commit into
ComputerScienceHouse:masterfrom
goosenotduck:patch-2
Jun 11, 2026
Merged

Encode LDAP attributes as UTF-8 instead of ASCII#42
BigSpaceships merged 1 commit into
ComputerScienceHouse:masterfrom
goosenotduck:patch-2

Conversation

@goosenotduck

Copy link
Copy Markdown
Contributor

What

This PR removes changes the encoding of LDAP attributes from ASCII to UTF-8.

Why

This causes issues in profiles, as a user may enter a Unicode character, which causes an error when encoding into ASCII.
This encoding step is not necessary, as LDAP supports UTF-8 encoding.

Test Plan

I manually added Unicode characters into my LDAP fields on FreeIPA with no issue, and tested this change in profiles.

Env Vars

nop

Documentation

what's documentationy?

Checklist

  • Tested all changes locally

@BigSpaceships BigSpaceships left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

swizz's account isn't broken I feel like this is a shipit moment ngl

@BigSpaceships BigSpaceships merged commit d7019be into ComputerScienceHouse:master Jun 11, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants