[misc] small improvements for 2.13 release

This commit is contained in:
Pete Batard 2017-04-01 17:29:42 +01:00
parent abce1a2aa0
commit e33b4589b6
5 changed files with 24 additions and 14 deletions

View file

@ -104,7 +104,7 @@ static __inline char* sanitize_filename(char* filename, BOOL* is_identical)
{
size_t i, j;
char* ret = NULL;
char unauthorized[] = {'<', '>', ':', '|', '*', '?'};
char unauthorized[] = { '*', '?', '<', '>', ':', '|', '\\', '/'};
*is_identical = TRUE;
ret = safe_strdup(filename);