-
Notifications
You must be signed in to change notification settings - Fork 324
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
Some sites always redirect back to http:// #87
Comments
I assume we are talking about "native" Update @ 2017-02-21: see #87 (comment) |
Yes it does. Also in this case using |
Quick repro:
In short, there is a bug – directory paths must end with
Turns out the gateway normalizes root URIs. If it does not end with Due to the way our current protocol handler works redirect sent by gateway breaks out from Sadly, we don't know if URL points to a directory or a file. To solve this, we need to handle unexpected HTTP 302 from gateway somehow. At first I thought maybe this old snippet by @the8472 will solve it, but the error was present in that code base too. I did some diagnostics of Opening
Opening
I tried to set the same loadFlags for the second request but it did not help -- flags were the same but final URL was I'll look into this in spare time, but if anyone has any idea, feedback is appreciated. |
There is an upstream ticket about this behavior at ipfs/in-web-browsers#8 |
Closing as it is no longer relevant. Sadly "native fs: mode" is no longer possible due to missing WebExtension API. See #164 for more details |
Example: fs:/ipns/glowing-bear.ipfs.ovh/
The text was updated successfully, but these errors were encountered: