Skip to content
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

Resolve / and ~/ to local directories #88

Open
rodarima opened this issue Mar 2, 2024 · 2 comments
Open

Resolve / and ~/ to local directories #88

rodarima opened this issue Mar 2, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@rodarima
Copy link
Member

rodarima commented Mar 2, 2024

Currently they are resolving to http, which doesn't make much sense.

Commented-by: dogma

@rodarima rodarima added the enhancement New feature or request label Mar 2, 2024
@zzo38
Copy link

zzo38 commented Apr 2, 2024

I would rather want a "relative mode". For example, if the current URL is http://example.net/examples/42.html and you type / then it will go to http://example.net/ and if you type ~/ then it will go to http://example.net/examples/~/. It would do this with all URLs, not only those ones. If you include the scheme then it is an absolute URL. (I have managed to modify Firefox to work like this.)

@rodarima
Copy link
Member Author

rodarima commented Apr 3, 2024

I would rather want a "relative mode". For example, if the current URL is http://example.net/examples/42.html and you type / then it will go to http://example.net/ and if you type ~/ then it will go to http://example.net/examples/~/. It would do this with all URLs, not only those ones. If you include the scheme then it is an absolute URL. (I have managed to modify Firefox to work like this.)

I opened #119 to address this specific feature. This issue is to solve the problem of running:

$ dillo '~/'

And end up loading http://~/.

Loading paths that start with / already works from the command line, including only / (opens file:/). But not if opened directly from the location bar, which tries to load http:/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants