mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-28 08:05:56 -05:00
Addendum to commit f4cc74e7fb
, now allow only alphanum AND /
This commit is contained in:
parent
f4cc74e7fb
commit
799fe9e684
@ -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]))
|
||||
|
Loading…
Reference in New Issue
Block a user