bug: relative URL links from a key's root without trailing slash #111

Open
opened 2026-05-24 23:09:14 +00:00 by treadful · 0 comments
Owner

When you visit a key's site, like https://jot.run/~6f03ea7 without a trailing slash, relative links (e.g. notes/ssh_tunnels.md) are considered to the root of the server, not the key's root.

Wanted link URI: https://jot.run/~6f03ea7/notes/ssh_tunnels.md

Actual link URI: https://jot.run/notes/ssh_tunnels.md

I guess this means the server must redirect key URIs to the URI with the trailing slash.

When you visit a key's site, like `https://jot.run/~6f03ea7` without a trailing slash, relative links (e.g. `notes/ssh_tunnels.md`) are considered to the root of the *server*, not the key's root. Wanted link URI: `https://jot.run/~6f03ea7/notes/ssh_tunnels.md` Actual link URI: `https://jot.run/notes/ssh_tunnels.md` I guess this means the server must redirect key URIs to the URI with the trailing slash.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
treadful/jot#111
No description provided.