-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
P1High: Likely tackled by core team if no one steps upHigh: Likely tackled by core team if no one steps upkind/bugA bug in existing code (including security flaws)A bug in existing code (including security flaws)kind/enhancementA net-new feature or improvement to an existing featureA net-new feature or improvement to an existing featuretopic/gatewayTopic gatewayTopic gateway
Description
See (B) from brave/brave-browser#22927
Current state
Public gateways inline DNSLink names into a single label if X-Forwarded-Proto: https
is present (see docs)
https://dweb.link/ipns/en.wikipedia-on-ipfs.org
→ redirect →https://en-wikipedia--on--ipfs-org.ipns.dweb.link/wiki/
Localhost gateway does not do that, it keeps the subdomains as they are:
http://localhost:48080/ipns/en.wikipedia-on-ipfs.org
→ redirect →http://en.wikipedia-on-ipfs.org.ipns.localhost:48080/wiki/
Requested enhancement
Brave team asked for a configuration flag that enables DNSLink name inlining into a single DNS label without switching protocol to https (brave/brave-browser#22927).
Proposed design
Add new optional Flag
to Gateway.PublicGateways
named UseInlinedDNSLink
(disabled by default).
Metadata
Metadata
Assignees
Labels
P1High: Likely tackled by core team if no one steps upHigh: Likely tackled by core team if no one steps upkind/bugA bug in existing code (including security flaws)A bug in existing code (including security flaws)kind/enhancementA net-new feature or improvement to an existing featureA net-new feature or improvement to an existing featuretopic/gatewayTopic gatewayTopic gateway