Skip to content

wrong symlink path using reveal_symlinks for file_server browse #7476

@Ninos

Description

@Ninos

Issue Details

The file browse template shows the wrong symlink path of the file. Instead of returning the origin path, the absolute path is returned.

In my example I'm mirroring the alpine repository. This is what I get:

Image

This is the shell output:

/srv/app # ls -lsa
total 20
     4 drwxr-xr-x    3 1003     1003          4096 Dec  3 16:54 .
     4 drwxr-xr-x    1 root     root          4096 Nov  3 01:27 ..
     4 -rw-r--r--    1 1003     1003          3726 Feb 12 23:00 MIRRORS.txt
     4 -rw-r--r--    1 1003     1003            11 Feb 13 07:00 last-updated
     0 lrwxrwxrwx    1 1003     1003             5 Dec  3 16:54 latest-stable -> v3.23
     4 drwxr-xr-x    3 1003     1003          4096 Nov 28 14:54 v3.23

Assistance Disclosure

AI not used

If AI was used, describe the extent to which it was used.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions