Addendum to commit f4cc74e7fb, now allow only alphanum AND /

This commit is contained in:
ejurgensen 2013-08-27 22:38:02 +02:00
parent f4cc74e7fb
commit 799fe9e684

View File

@ -137,7 +137,7 @@ scan_m3u_playlist(char *file, time_t mtime)
continue;
}
if ((!isalnum(buf[0])) || (buf[0] == ';') || (buf[0] == '#') || (buf[0] == '\n'))
if ((!isalnum(buf[0])) && (buf[0] != '/'))
continue;
while (isspace(buf[len - 1]))