fix(backend-gitlab): support folder names with whitespace (#1799)
This commit is contained in:
parent
b60c94aa8f
commit
a9f69f9ddc
@ -119,7 +119,12 @@ export default class API {
|
|||||||
.map(str => str.trim().split(';'))
|
.map(str => str.trim().split(';'))
|
||||||
.map(([linkStr, keyStr]) => [
|
.map(([linkStr, keyStr]) => [
|
||||||
keyStr.match(/rel="(.*?)"/)[1],
|
keyStr.match(/rel="(.*?)"/)[1],
|
||||||
unsentRequest.fromURL(linkStr.trim().match(/<(.*?)>/)[1]),
|
unsentRequest.fromURL(
|
||||||
|
linkStr
|
||||||
|
.trim()
|
||||||
|
.match(/<(.*?)>/)[1]
|
||||||
|
.replace(/\+/g, '%20'),
|
||||||
|
),
|
||||||
])
|
])
|
||||||
.update(list => Map(list));
|
.update(list => Map(list));
|
||||||
const actions = links
|
const actions = links
|
||||||
|
Loading…
x
Reference in New Issue
Block a user