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
When accessing a URL such as hyper://94f0cab7f60fcc2a711df11c85db5e0594d11e8a3efd04a06f46a3c34d03c418/posts and omitting the trailing slash, the browser does not append a trailing slash, and so relative links on the page don't function as intended.
Steps to reproduce
Access a URL to a directory with files in a hyperdrive/dat archive and omit the trailing slash
Click one of the links to a file in the directory
Expected behaviour
The filename is appended to the URL with a slash in between and the user navigates to the file
Actual behaviour
The browser does not append the trailing slash to the URL in the navbar, and the link becomes relative to one layer higher than intended
The text was updated successfully, but these errors were encountered:
This should maybe be moved to dat-fetch so that dat-fetch can return a 302 and redirect to the canonical version with the trailing '/' if it is a directory.
I'll re-open on dat-fetch when I have a better idea of how I would want this to work. Maybe the directory listing page in agregore should just create links relative to the root rather than relative to ..
When accessing a URL such as
hyper://94f0cab7f60fcc2a711df11c85db5e0594d11e8a3efd04a06f46a3c34d03c418/posts
and omitting the trailing slash, the browser does not append a trailing slash, and so relative links on the page don't function as intended.Steps to reproduce
Expected behaviour
Actual behaviour
The text was updated successfully, but these errors were encountered: