Skip to content
Snippets Groups Projects
Commit 775ae633 authored by Neil Drumm's avatar Neil Drumm :wave:
Browse files

Issue #3448936: Edge cases for sigma at end of word and dotted I lowercasing

parent 49dc1c4e
No related branches found
No related tags found
2 merge requests!312Issue # 3494493: Documentation: Document Maintainer Widget,!299Remove heroes from components field. Update CTA section and add variants.
......@@ -2215,7 +2215,7 @@ function drush_drupalorg_keycloak_integrity_check($log_filename = null) {
continue;
}
// Keycloack username is case insensitive.
if (drupal_strtolower($d_username) !== drupal_strtolower($k_username)) {
if (drupal_strtolower(preg_replace(['/İ/', '/Σ$/'], ['i̇', 'ς'], $d_username)) !== drupal_strtolower($k_username)) {
fprintf($log_file, "name_mismatch: (uid = %d, uuid = %s) d_username = %s, k_username = %s\n", $d_uid, $d_uuid, $d_username, $k_username);
$diff_counts['name_mismatch']++;
continue;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment