Skip to content
This repository was archived by the owner on Mar 29, 2023. It is now read-only.
This repository was archived by the owner on Mar 29, 2023. It is now read-only.

MultiFileReader function Read(buf []byte) commit a wrong path with windows #16

@godcong

Description

@godcong

filename := url.QueryEscape(path.Join(path.Join(mfr.path...), entry.Name()))

this line will make a file with directory like D:\video\H/p2526321708.webp
in windows this path is not correct.
i'm used rest to get the file information.
it's result the same directory.
but if i fix to D:\video\H\p2526321708.webp
command ipfs ls /ipfs/#pathcode# can't display the sub file with this directory.

Metadata

Metadata

Assignees

Labels

kind/bugA bug in existing code (including security flaws)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions