GUACAMOLE-474: Ensure RDPDR "Download" folder behaves as a normal folder if downloads are disabled.
This commit is contained in:
parent
f4ff5f337c
commit
630798503c
@ -166,7 +166,8 @@ void guac_rdpdr_fs_process_set_rename_info(guac_rdp_common_svc* svc,
|
||||
destination_path);
|
||||
|
||||
/* If file moving to \Download folder, start stream, do not move */
|
||||
if (strncmp(destination_path, "\\Download\\", 10) == 0) {
|
||||
if (strncmp(destination_path, "\\Download\\", 10) == 0
|
||||
&& !((guac_rdp_fs*) device->data)->disable_download) {
|
||||
|
||||
guac_rdp_fs_file* file;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user