deedum
deedum copied to clipboard
Relative URL handled as absolute URL
Hello. I'm running version 2021.0221.1640 from F-Droid and I'm having an issue where relative URLs are processed like absolute ones.
You will need to set up a test site with two pages to reproduce it. I have the following two files:
/dir1/index.gmi
/dir1/page.gmi
Where index.gmi is:
# Hello this is /dir1/index.gmi
=> page.gmi Go to /dir1/page.gmi
and page.gmi is:
# Hello this is /dir1/page.gmi
Now do the following:
- Visit
localhost/dir1/ - Click the link
- Go back
- Click the link again
Step 2 works, but at step 4 deedum tries to load localhost/page.gmi instead of localhost/dir1/page.gmi.