Skip to content
Snippets Groups Projects
Commit 37213e88 authored by Javier Sagredo's avatar Javier Sagredo Committed by Mergify
Browse files

Use Base16 hash for script path.

Issue #9334 shows that `%` characters on Windows result in invalid
paths, also `/` characters on Linux create invalid paths.

This changes from using base64 to using base16 with the same length
we use for unit-ids.

(cherry picked from commit 97f99171)

# Conflicts:
#	cabal-install/src/Distribution/Client/HashValue.hs
#	cabal-install/src/Distribution/Client/ScriptUtils.hs
#	cabal-testsuite/cabal-testsuite.cabal
parent 5d97fcf0
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment