Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

gateway(encoding): support utf-8 #252

Closed
Tracked by #173
Arqu opened this issue May 31, 2022 · 2 comments
Closed
Tracked by #173

gateway(encoding): support utf-8 #252

Arqu opened this issue May 31, 2022 · 2 comments
Assignees

Comments

@Arqu
Copy link
Collaborator

Arqu commented May 31, 2022

Very little care is given for properly handling or responding to utf-8 based urls or headers.

@b5
Copy link
Member

b5 commented Sep 29, 2022

can confirm this is a problem. Example: https://cloudflare-ipfs.com/ipfs/QmYwAPJzv5CZsnA625s3Xf2nemtYgPpHdWEz79ojWnPbdG/readme renders properly, on iroh, not so much:

Screen Shot 2022-09-29 at 3 22 20 PM

@fabricedesre
Copy link
Contributor

That's because cloudflare does content-type sniffing and returns content-type: text/plain; charset=utf-8 while the browser fails to figure out it's utf-8.

That's a dupe of #203

@b5 b5 assigned Arqu Oct 5, 2022
@Arqu Arqu closed this as completed Oct 14, 2022
@dignifiedquire dignifiedquire transferred this issue from n0-computer/iroh Feb 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

3 participants