# Catch the JSON-escaped and file-URI forms of the home folder · dara/icarus

[View on GitCafe](https://git.cafe/dara/icarus/commit/5f2114e01db034fd791a5560dd72814f17ace4af)

Repository: [dara/icarus](https://git.cafe/dara/icarus)

Visibility: public

Requested revision: 5f2114e01db034fd791a5560dd72814f17ace4af

Requested commit: 5f2114e01db034fd791a5560dd72814f17ace4af

Commit: 5f2114e01db034fd791a5560dd72814f17ace4af

Tree: 03110b71118a1690f01d9d9fffcd6536e2a18274

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Catch the JSON-escaped and file-URI forms of the home folder

A path written into a log entry as JSON (C:\Users\<name>) or as a
file URI with an encoded space (C:/Users/Alex%20Smith) kept the account
name. Both forms are now written as ~ too. The redaction takes the home
folder as an argument so it can be tested with names a CI runner doesn't
have, and the real-home test skips where there is no home folder.

```

## Parents

- [8e2642deed129b64912034f2589aec0210c2243d](https://git.cafe/dara/icarus/commit/8e2642deed129b64912034f2589aec0210c2243d?format=markdown)

[Source at this commit](https://git.cafe/dara/icarus/tree/5f2114e01db034fd791a5560dd72814f17ace4af?format=markdown)
