fix: encode group path for getGroupByPath (#28826)
Signed-off-by: Hghtwr <johannes.sonner@outlook.com>
This commit is contained in:
@@ -174,7 +174,10 @@ export class GitLabClient {
|
||||
groupPath: string,
|
||||
options?: CommonListOptions,
|
||||
): Promise<GitLabGroup> {
|
||||
return this.nonPagedRequest(`/groups/${groupPath}`, options);
|
||||
return this.nonPagedRequest(
|
||||
`/groups/${encodeURIComponent(groupPath)}`,
|
||||
options,
|
||||
);
|
||||
}
|
||||
|
||||
async listDescendantGroups(
|
||||
|
||||
Reference in New Issue
Block a user