adrianschubek / dir-browser

Directory Browser - Browse your files and folders on the web. Easy Docker setup.
https://dir.adriansoftware.de
MIT License
12 stars 4 forks source link

Incorrect relative link redirection in readme #20

Closed zoumingzhe closed 2 months ago

zoumingzhe commented 2 months ago

I have the following directory structure:

/root
/root/A/B/file
/root/A/B/readme
/root/A/readme
/root/readme

There is a relative link B](./B) in /root/A/readme (example.com/A). When I clicked on the link, I was redirected toexample. com/B, and I am looking forward to redirecting to example. com/A/B.

I believe this is a problem that can be solved. Because relative links can be redirected correctly in the GitHub repository.

adrianschubek commented 2 months ago

The issue was a missing slash / for folders in the URL. Fixed it.

zoumingzhe commented 2 months ago

The image in readme cannot be loaded. This should be the same issue, and I will confirm whether the issue still exists in version 3.3.

zoumingzhe commented 2 months ago

Version 3.3 works very well