Eugen Hartmann created GUACAMOLE-2319:
-----------------------------------------

             Summary: SFTP side panel displays symlinked directories as files
                 Key: GUACAMOLE-2319
                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-2319
             Project: Guacamole
          Issue Type: Bug
          Components: guacamole
    Affects Versions: 1.6.0
            Reporter: Eugen Hartmann


When SFTP is enabled and a symlink pointing to a directory exists on the 
server, the SFTP side panel lists the symlink as a file rather than a folder. 
Clicking it triggers a file download instead of navigating into the directory.

The downloaded content is a JSON index of the symlinked directory's contents 
rather than an actual file. For example, a symlink {{dir-symlink}} containing 
{{testfile.txt}} produces a download with the content 
{{{}"/dir-symlink/testfile.txt":"application/octet-stream"{}}}.

Regular (non-symlinked) directories are listed and navigated correctly. Only 
symlinks to directories are affected.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to