You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Opening page with JavaScript via ipfs: protocol handler results in CORS error.
Example: ipfs:QmSrCRJmzE4zE1nAfWPbzVfanKQNBhp7ZWmMnEdbiLvYNh/mdown#sample.md
Bit late today, will look into this later this week.
The text was updated successfully, but these errors were encountered:
After closer consideration relying on virtual protocol opens a pandora box with various security implications.
We will minimize use of custom protocol handler (#7), and as a result this issue will not occur.
This issue still occurs when we disable gateway redirect and a dependent resource or a relative link is loaded from http://gateway.ipfs.io/ipfs/<hash> while main page being from ipfs:<hash>.
As a result CORS blocks JS execution across different domains.
lidel
changed the title
Fix CORS error when loading HTML page via ipfs: protocol handler
Fix CORS error when loading HTML page via fs: protocol handler
Feb 14, 2016
Opening page with JavaScript via
ipfs:
protocol handler results in CORS error.Example:
ipfs:QmSrCRJmzE4zE1nAfWPbzVfanKQNBhp7ZWmMnEdbiLvYNh/mdown#sample.md
Bit late today, will look into this later this week.
The text was updated successfully, but these errors were encountered: