dillo icon indicating copy to clipboard operation
dillo copied to clipboard

Resolve / and ~/ to local directories

Open rodarima opened this issue 1 year ago • 2 comments

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

Commented-by: dogma

rodarima avatar Mar 02 '24 18:03 rodarima

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.)

zzo38 avatar Apr 02 '24 23:04 zzo38

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:/.

rodarima avatar Apr 03 '24 09:04 rodarima