AgregoreWeb / agregore-mobile

Mobile version of the Agregore browser for Android, based on Chromium and Bromite
MIT License
31 stars 6 forks source link

Referrer fix #21

Closed RangerMauve closed 2 years ago

RangerMauve commented 2 years ago

there were errors where web pages on IPFS schemes were unable to load resouces from IPFS Schemes.

Fixed by subverting a referrer check but only for IPFS hosts

Also had an error where IPFS pages could not link to other IPFS schemes than its own.

Subverted this by allowing all hosts to link to IPFS URLs. 🤪

Part of the fixes involved adding some more helpers to GURL so that code using IPFS URLs could be more clean.

Also added a small fix to the utility for updating bromite

Finally, updated the daemon version to have a fix for doing JSON listings of directories with fetch(). The default on desktop was to render JSON when there's no Accept header and the gateway was added to follow suite.

RangerMauve commented 2 years ago

Tested out with the markdown blog and everything is working!