You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Usernames and session ids are concatenated into SQL and LDAP filters #442
Today this is held back by the username filter in CAppUI::login() (L790, everything but A-Za-z0-9._@- stripped) and by PHP's own check of session id characters. Usernames from identity providers (Phase 1 onwards) can contain ', + and non-ASCII characters, and won't pass through that filter.
Fix: use $q->quote() for every username and session id, and ldap_escape($username, '', LDAP_ESCAPE_FILTER) in the LDAP filter.
Activity