From: Ian Jackson <[email protected]> Use - and _ to make up the base64 alphabet instead of + and /
Signed-off-by: Ian Jackson <[email protected]> --- ts-host-reuse | 1 + 1 file changed, 1 insertion(+) diff --git a/ts-host-reuse b/ts-host-reuse index 701070b2..0ecbb0bd 100755 --- a/ts-host-reuse +++ b/ts-host-reuse @@ -75,6 +75,7 @@ sub compute_test_sharetype () { push @runvartexts, "$key=$r{$key}"; } my $digest = sha224_base64("@runvartexts"); + $digest =~ y{/+}{-_}; $sharetype = "test-$flight-$digest"; logm "share type $sharetype; hash is of: @runvartexts"; return $sharetype; -- 2.20.1
