Allowing this apparently has been cargo-culted from my initial sysupdate
PR, but Claude and me could not find a single other software package
that uses "," as a character within version strings. Hence, let's remove
this, even though this is a compat breakage of a kind, in the hope
nobody notices. We can easily restore this if this later shows to be an
issue for people.
if (!filename_part_is_valid(s))
return false;
- /* This is a superset of the characters used by semver. We additionally allow "," and "_". */
- if (!in_charset(s, ALPHANUMERICAL ".,_-+"))
+ /* This is a superset of the characters used by semver. We additionally allow "_". */
+ if (!in_charset(s, ALPHANUMERICAL "._-+"))
return false;
return true;