ipfs / ipfs/kubo

HTTP gateway does not support symlinks.

Open
#4,486 1 comment 2 reactions 0 assignees View on GitHub
status/duplicate topic/gateway
Dominant language
Go
Stars
17.1k
Forks
3.2k
Avg merge
3d 18h
Merged PRs (30d)
11

Description

#### Version information: 0.4.13

#### Type: Enhancement

#### Severity: Low

#### Description:

The go-ipfs daemon's HTTP gateway can serve files from directories in IPFS objects. However, it does not follow symlinks. This is annoying when, for instance, trying to serve Debian package repositories that commonly use symlinks for structure and indirection.

I propose to change it to serve symlinks that do not escape the IPFS directory. I admit this is potentially a security risk.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.