ipfs / ipfs/gateway-conformance

Add test for Service-Worker registration scope

Open
#138 0 comments 0 reactions 0 assignees View on GitHub
test:coverage
Dominant language
Go
Stars
19
Forks
15
Avg merge
1d 4h
Merged PRs (30d)
5

Description

This is for path gateways that serve deserialized content.

Registration on `/ipfs/cid` should be forbidden, only allow `/ipfs/cid/` (with trailing slash).
We should require error from 4XX range.

Ref.
- https://github.com/ipfs/boxo/blob/d4e6cd9eff8fb617d5dc52ef2a48fe10a3647b01/gateway/handler.go#L855-L863
- https://github.com/ipfs/kubo/blob/54ac8124c3bf2a19ebfd60f9a5edcea943c7b392/test/cli/gateway_test.go#L66-L69
- https://github.com/ipfs/kubo/issues/4025

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.