mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 14:36:25 +00:00
fix(gitlab): encode namespaced project paths in /api/v4/projects call (#14269)
This commit is contained in:
parent
6a2b91bd26
commit
dfa553da11
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ export async function getRawFile(
|
|||
branchOrTag?: string
|
||||
): Promise<string | null> {
|
||||
const escapedFileName = urlEscape(fileName);
|
||||
const repo = repoName ?? config.repository;
|
||||
const repo = urlEscape(repoName ?? config.repository);
|
||||
const url =
|
||||
`projects/${repo}/repository/files/${escapedFileName}?ref=` +
|
||||
(branchOrTag || `HEAD`);
|
||||
|
|
Loading…
Reference in a new issue