1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-05 22:05:23 +02:00

fix(authentication): allow nested whitespaces on AD OU names EE-5206 (#10260)

This commit is contained in:
matias-portainer 2023-09-07 11:02:57 -03:00 committed by GitHub
parent ae3e612a24
commit 776f6a62c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,7 +49,7 @@ export default class LdapSettingsBaseDnBuilderController {
const [, type, value] = match;
ouValues.push({ type, value });
left = left.replace(regex, '');
match = left.match(/(\w+)=(\w+),?/);
match = left.match(regex);
}
return ouValues;
}