ipfs / kubo

An IPFS implementation in Go
https://docs.ipfs.tech/how-to/command-line-quick-start/
Other
15.99k stars 3k forks source link

Kubo gets confused and is inconsistent when file paths contains `\` escape sequences #9439

Open Jorropo opened 1 year ago

Jorropo commented 1 year ago

Checklist

Installation method

built from source

Version

v0.17

Config

N/A

Description

Take for example this directory: https://ipfs.io/ipfs/bafyaaeqsbqfaiakvaaabeas4nymaacqcbaaq,

This is a broken mess, and I can't make a spec out of that, I think I'll just make a new spec for paths and fix kubo then.

Jorropo commented 1 year ago

IMO we should use golang spec's interpreted_string_lit with " trimed off.