Skip to content

Commit

Permalink
Addendum to commit f4cc74e, now allow only alphanum AND /
Browse files Browse the repository at this point in the history
  • Loading branch information
ejurgensen committed Aug 27, 2013
1 parent f4cc74e commit 799fe9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filescanner_m3u.c
Original file line number Diff line number Diff line change
Expand Up @@ -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]))
Expand Down

0 comments on commit 799fe9e

Please sign in to comment.