diff options
-rw-r--r-- | source3/smbd/ipc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/ipc.c b/source3/smbd/ipc.c index 8852e57e8b..34210f2db7 100644 --- a/source3/smbd/ipc.c +++ b/source3/smbd/ipc.c @@ -1551,8 +1551,7 @@ static BOOL api_PrintJobInfo(int cnum,int uid,char *param,char *data, int l = 0; while (l<64 && *s) { - if (isalnum(*s) || strchr("-._",*s)) - name[l++] = *s; + if (issafe(*s)) name[l++] = *s; s++; } name[l] = 0; |