deedum icon indicating copy to clipboard operation
deedum copied to clipboard

Relative URL handled as absolute URL

Open lufte opened this issue 4 years ago • 0 comments

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:

  1. Visit localhost/dir1/
  2. Click the link
  3. Go back
  4. Click the link again

Step 2 works, but at step 4 deedum tries to load localhost/page.gmi instead of localhost/dir1/page.gmi.

lufte avatar Dec 06 '21 23:12 lufte