forked from mirrors/nixpkgs
fetchgitlab: Escape a few more characters in the revision
This commit is contained in:
parent
9380c61a19
commit
43cd431b44
|
@ -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 ({
|
||||
|
|
Loading…
Reference in a new issue