-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Brave: subresource assets (e.g. images, video, scripts) with gateway URL not redirected #1095
Comments
Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review.
Finally, remember to use https://discuss.ipfs.io if you just need general support. |
Poke! @whizzzkid @SgtPooki @lidel @armujahid |
@dokterbob ❤️ the 👉🏽🧑💻 but I don't have perms to assign/triage/label the issue. For me locally, the redirect seems to be happening to my local gateway url as expected. But the asset is not resolving, 🤔? |
iirc this is an artificial limitation present in Brave, caused by their custom Brave Shields extension. Subresources on https:// websites (e.g., images) that have Been a few months since I've looked at this, but at the time subresource redirect in Brave worked only when you use native @dokterbob please fill an upstream issue in https://github.com/brave/brave-browser/issues and mention me there, and I'll bring this topic up during my bi-weekly sync with Brave 🙏 |
Describe the bug
When a website links to assets over IPFS using gateway URL's, they are loaded over the gateway rather than redirected to a configured gateway (e.g. local node).
To Reproduce
Expected behavior
Image URL is replaced by URL on local node (e.g. http://bafybeifnki7op77j43swrlukkjq7whi5wxae7zys52fqgrsycars656xhq.ipfs.localhost:8080/QmUxhzKtwaDm5T8HnxfVCxogH2K7MshYVdtc1mCaFFFqqm-400-400.webp), as would be the case then the image URL is opened directly, and loaded from there. Instead, it's loaded from the original URL from the remote gateway (e.g. https://bafybeifnki7op77j43swrlukkjq7whi5wxae7zys52fqgrsycars656xhq.ipfs.dweb.link/QmUxhzKtwaDm5T8HnxfVCxogH2K7MshYVdtc1mCaFFFqqm-400-400.webp).
Screenshots
Desktop:
Additional context
I have double checked that with the internet disconnected, the image loads from the direct URL and the demo page loads, but the image does not load on the page.
The text was updated successfully, but these errors were encountered: