Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

/foo/ does not serve '/foo/index.html, /foo does not serve /foo.html` #43

Closed
rjcorwin opened this issue Apr 29, 2018 · 1 comment
Closed

Comments

@rjcorwin
Copy link

Using dat-gateway to browse the web, which depends on hyperdrive-http, we've discovered a couple of path resolutions that websites expect servers to practice that hyperdrive-http does not. For example, see http://gateway.mauve.moe:3000/pfrazee.hashbase.io/ and click on a link on the first link and you'll end up at http://82kzddgmfbk9bf5wzx1jyu2cfeujj7n37718r5unh5pdxe0bubwg.gateway.mauve.moe:3000/blog/universal-publishing-and-the-webs-black-boxes

Now if you add HTML to the end, you'll see it does resolve. http://82kzddgmfbk9bf5wzx1jyu2cfeujj7n37718r5unh5pdxe0bubwg.gateway.mauve.moe:3000/blog/universal-publishing-and-the-webs-black-boxes.html

The other example is if you have a file at /foo/index.htmlt, if you try to go to /foo/ it will not give you /foo/index.html.

@joehand
Copy link
Collaborator

joehand commented Feb 16, 2019

Should be fixed! (though the gateway has changes, so not quite sure)

@joehand joehand closed this as completed Feb 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants