mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-09 13:39:47 -05:00
Addendum to commit f4cc74e7fb, now allow only alphanum AND /
This commit is contained in:
@@ -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]))
|
||||
|
||||
Reference in New Issue
Block a user