Skip to content

Commit 39093ed

Browse files
committed
Slugify for Gitlab names: Replace with empty instead of space, just as Gitlab does.
This means for example that group name "Foo: Bar" becomes "Foo Bar" instead of "Foo Bar".
1 parent d6e0c70 commit 39093ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LdapSyncCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1298,7 +1298,7 @@ private function deployGitlabUsersAndGroups(array $config, string $gitlabInstanc
12981298

12991299
$slugifyGitlabName = new Slugify([
13001300
"regexp" => "/([^A-Za-z0-9_\.\(\)\- ])+/",
1301-
"separator" => " ",
1301+
"separator" => "",
13021302
"lowercase" => false,
13031303
"trim" => true,
13041304
]);

0 commit comments

Comments
 (0)