Mouleeswaran B created GUACAMOLE-1987:
-----------------------------------------
Summary: File System Fails to show the file If specific folder has
one coruupted file
Key: GUACAMOLE-1987
URL: https://issues.apache.org/jira/browse/GUACAMOLE-1987
Project: Guacamole
Issue Type: Bug
Components: guacamole, guacamole-client, guacamole-common,
guacamole-common-js, guacd, SSH
Affects Versions: 1.5.5, 1.4.0, 1.2.0
Environment: SSH, RDP
Reporter: Mouleeswaran B
Fix For: 1.4.0
Attachments: image-2024-10-01-09-49-47-506.png,
image-2024-10-01-09-52-13-107.png, image-2024-10-01-09-54-03-018.png,
test_special_c.tar.gz
Hi Team, We have integrated guacamole in our company product to do virtual
connection of SSH and RDP. There is issue when we open the file system. For
example, When we open a folder in file system which contains 4 to 5 files. In
that if we have one corrupted file or invalid file the whole folder is showing
empty. Basically its not loading. Ideally the corrupted file should get ignored
and it show the other files. Instead the whole folder is empty. When we checked
web socket messages in network tab the blob which provides not showing the
valid json. Its clearly seen this is an issue. Please take this as priority.
Product version used: 1.4.0 - This is reproducible in direct gucamole as well.
in the version of 1.2 s well.
Package used: guacamole, guacamole-common-js(UI)
Screen shot and corrupted file is attached.
To recreate the issue please upload the attached zip file in filesystem and
unzip in any of the folder then open the file it will show empty in UI. but
when you check actual machine by doing *ls* command as mentioned in below
screen shot you will be seeing two files.
The below screen shot is from default guacamole and where you can see the
fsctest folder has two files.
!image-2024-10-01-09-49-47-506.png!
Screen shot below is socket message which has blob:
!image-2024-10-01-09-52-13-107.png!
Blob:
4.blob,1.0,148.eyIvdGVzdC9mc2N0ZXN0L3BhbWZpbGVzb25wcmVtLnR4dCI6ImFwcGxpY2F0aW9uL29jdGV0LXN0cmVhbSIsIi90ZXN0L2ZzY3Rlc3Qv8GdbASI6ImFwcGxpY2F0aW9uL29jdGV0LXN0cmVhbSJ9;3.end,1.0;
When you convert this blob you can see json which is in valid.
Screeen shot for UI which not showing any file . Idealy it should show two
files which is seen in initial screen shot.
!image-2024-10-01-09-54-03-018.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)