GUACAMOLE-326: Explicitly deny attempted reads/writes to Windows named data streams (like "foo:Zone.identifier" for the file "foo").

This commit is contained in:
Michael Jumper 2017-06-04 13:05:11 -07:00
parent d9c1ce7738
commit e5a1b4d8ae

View File

@ -654,6 +654,10 @@ int guac_rdp_fs_normalize_path(const char* path, char* abs_path) {
} /* end if separator */ } /* end if separator */
/* We do not currently support named streams */
else if (c == ':')
return 1;
} /* end for each character */ } /* end for each character */
/* If no components, the path is simply root */ /* If no components, the path is simply root */