Skip to content

Commit

Permalink
fetchgitlab: Escape a few more characters in the revision
Browse files Browse the repository at this point in the history
  • Loading branch information
TethysSvensson committed Sep 13, 2020
1 parent 9380c61 commit 43cd431
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/build-support/fetchgitlab/default.nix
Expand Up @@ -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 ({
Expand Down

0 comments on commit 43cd431

Please sign in to comment.