3
0
Fork 0
forked from mirrors/nixpkgs

fetchgitlab: Escape a few more characters in the revision

This commit is contained in:
Tethys Svensson 2020-09-13 12:33:47 +02:00
parent 9380c61a19
commit 43cd431b44

View file

@ -12,7 +12,7 @@ let
((optional (group != null) group) ++ [ owner repo ]);
escapedSlug = replaceStrings ["." "/"] ["%2E" "%2F"] slug;
escapedRev = replaceStrings ["+"] ["%2B"] rev;
escapedRev = replaceStrings ["+" "%" "/"] ["%2B" "%25" "%2F"] rev;
in
fetchzip ({