SongFilter: allow dash in tag name

Required for "modified-since".
This commit is contained in:
Max Kellermann 2018-07-25 11:04:19 +02:00
parent 235ddc0990
commit 29d5ad667c

View File

@ -225,7 +225,7 @@ ParseTimeStamp(const char *s)
static constexpr bool
IsTagNameChar(char ch) noexcept
{
return IsAlphaASCII(ch) || ch == '_';
return IsAlphaASCII(ch) || ch == '_' || ch == '-';
}
static const char *