Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commits (1)
......@@ -50,7 +50,7 @@
#define FNOPEN_BUF_SIZE (2*1024)
#define MAX_FILENAME_LEN 64
#define ILLEGAL_FILENAME_CHARS "\\/|<>:\";,%"
#define ILLEGAL_FILENAME_CHARS "\\/|<>:\";,%?*"
#define SAFEST_FILENAME_CHARS "-._0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
#define BIND_FAILURE_HELP "!Another application or service may be using this port"
......
......@@ -276,7 +276,7 @@ bool sbbs_t::upload(uint dirnum)
f.dir=curdirnum=dirnum;
bputs(text[Filename]);
if(getstr(fname, sizeof(fname) - 1, 0) < 1 || strchr(fname,'?') || strchr(fname,'*') || !checkfname(fname)) {
if(getstr(fname, sizeof(fname) - 1, 0) < 1 || !checkfname(fname)) {
if(fname[0])
bprintf(text[BadFilename], fname);
return(false);
......