Global Search pathing incorrect #499

Closed
opened 2026-02-05 17:41:21 +03:00 by OVERLORD · 0 comments
Owner

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 world

The results are as follows:
Image

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/

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 `world` The results are as follows: <img width="1517" height="382" alt="Image" src="https://github.com/user-attachments/assets/5b80b9c0-e742-49d9-beaa-c22b913620b2" /> 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/`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel-pelican-dev#499