afpfs-ng
afpfs-ng copied to clipboard
recursive get fails on names with spaces
cmdline_afp.c
1094 snprintf(curdir,AFP_MAX_PATH,"%s",total_path); 1095 com_get_file(p->name,1, &amount_written);
com_get_file gets the filename, but it reparses it as if it's user input. get_dir() really needs to call a lower level function which doesn't reparse the name, as what we have in p->name is a server-side name, not user input
Worked around by strcpy arg into filename if silent is set.