mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[GH-ISSUE #633] ?noscript creates broken relative links when path prefix is not / #379
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @apfelchips on GitHub (Sep 22, 2025).
Original GitHub issue: https://github.com/sigoden/dufs/issues/633
The new
?noscriptHTTP GET option breaks when the dufs server is being served / reverse proxied under a subdirectory with the--path-prefixoptionConfiguration
The generated html doesn't include the prefix-path in the anchor tags:
The index page loads successfully, but the links to the files and directories result in a 404 error.
Please add the path-prefix to the links on the noscript pages.
Also please consider adding a
--noscriptflag that changes the behavior to always serve the noscript page by default ( I sometimes use dufs to access content from legacy devices with truly ancient js engines and it would be awesome if they'd just work without having to add the GET parameter )Log
Screenshots/Media
Environment Information
@sigoden commented on GitHub (Sep 22, 2025):
The
?noscriptworks with--path-prefix.We will not support
--noscriptflag.