abrader-gms icon indicating copy to clipboard operation
abrader-gms copied to clipboard

git_deploy_key with gitlab will not work when project is on a sub-subgroup

Open ricou84 opened this issue 8 years ago • 0 comments

When project is on a sub-subgroup the key deployment not working. i think the second / is not htmlized revelant part of :

puppet agent -t -d

opening connection to <my_gitlab_server>:443...
opened
starting SSL for <my_gitlab_server>:443...
SSL established
<- "GET /api/v3/projects/infra-projects%2Fhubapplicatif/web HTTP/1.1\r\nAccept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3\r\nAccept: */*\r\nUser-Agent: Ruby\r\nContent-Type: application/json\r\nPrivate-Token: <my_private_token>\r\nConnection: close\r\nHost: <my_gitlab_server>\r\n\r\n"
-> "HTTP/1.1 404 Not Found\r\n"
-> "Server: nginx\r\n"
-> "Date: Wed, 20 Sep 2017 12:38:53 GMT\r\n"
-> "Content-Type: application/json\r\n"
-> "Content-Length: 25\r\n"
-> "Connection: close\r\n"
-> "Cache-Control: no-cache\r\n"
-> "Vary: Origin\r\n"
-> "X-Request-Id: b540fa1c-afcf-4b0b-ab95-be856e807bef\r\n"
-> "X-Runtime: 0.015513\r\n"
-> "\r\n"
reading 25 bytes...
-> "{\"error\":\"404 Not Found\"}"
read 25 bytes
Conn close

in /api/v3/projects/infra-projects %2F hubapplicatif / web the second / between hubapplicatif and web must be %2F

ricou84 avatar Sep 20 '17 13:09 ricou84