mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
Global Search pathing incorrect #499
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 @notAreYouScared on GitHub (Nov 26, 2025).
Originally assigned to: @rmartinoscar on GitHub.
When starting a global search within a folder, if files are found, the URLs are generated with the current path, plus the path of the file from /home/container/
If im in ./world and start a global search for the word
worldThe results are as follows:

With me already being in the world folder, I wouldn't expect to see
world/<file>, but<file>. Returning the folder the user is already in results in broken URLs.The generated URL for the one editable file in the above screenshot is
/server/4195be1b/files/edit/world/world/paper-world.yml/It should be
/server/4195be1b/files/edit/world/paper-world.yml/