ipfs/kubo

Escape paths in `ipfs ls`

Open

#5.887 geöffnet am 2. Jan. 2019

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Go (2.725 Forks)batch import
help wanted

Repository-Metriken

Stars
 (13.906 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 4T 2h) (28 gemergte PRs in 30 T)

Beschreibung

Running ipfs object patch add-link QmUNLLsPACCz1vLxQVkXqqLX5R1X345qqfHbsf67hvA3Nn $(echo -e '\e[1;1H\e[44;37m\e[K\e[2;1HHI\e[34m_\e[37mTHERE!\e[3;1H\e[K\e[49;39m') QmUNLLsPACCz1vLxQVkXqqLX5R1X345qqfHbsf67hvA3Nn gets us a really fun hash - QmUKpty1aF3ak42WTnebPsGkYyq6A6g9Jt2fYpanwzk6tx.

ipfs ls on that hash will print HI THERE on a blue background.

We should detect \e (and other characters like space) and escape it in cli encoder

Contributor Guide