Commit 29d5ad66 authored by Max Kellermann's avatar Max Kellermann

SongFilter: allow dash in tag name

Required for "modified-since".
parent 235ddc09
...@@ -225,7 +225,7 @@ ParseTimeStamp(const char *s) ...@@ -225,7 +225,7 @@ ParseTimeStamp(const char *s)
static constexpr bool static constexpr bool
IsTagNameChar(char ch) noexcept IsTagNameChar(char ch) noexcept
{ {
return IsAlphaASCII(ch) || ch == '_'; return IsAlphaASCII(ch) || ch == '_' || ch == '-';
} }
static const char * static const char *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment