Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix escaping issue when escape_userdn and allowed_groups are configured #253

Closed

Conversation

consideRatio
Copy link
Member

@consideRatio consideRatio commented Sep 14, 2024

I think this a bug being fixed, but I'm not 100% sure. It is discussed in #243 (comment). I think it should be an improvement though because it ensure we don't double-escape something.

I also think this enables:

Review help greatly appreciated @hammadab @Nikolai-Hlubek @m-erhardt, I've written this PR in the dark here without testing the change etc. Note that test failures for JupyterHub 5 are unrelated and to be resolved separately.

@consideRatio consideRatio changed the title Stop double escaping when escape_userdn and allowed_groups are configured Fix double escaping when escape_userdn and allowed_groups are configured Sep 15, 2024
@consideRatio consideRatio changed the title Fix double escaping when escape_userdn and allowed_groups are configured Fix escaping issue when escape_userdn and allowed_groups are configured Sep 15, 2024
@consideRatio consideRatio force-pushed the pr/fix-double-escaping branch 2 times, most recently from 3414095 to fadbf27 Compare September 15, 2024 08:08
@consideRatio
Copy link
Member Author

Closing this in favor of #267.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LDAPInvalidFilterError Username is not escaped
1 participant