The sanitization provided by ActiveStorage::Filename#sanitized
doesn’t include replacing all the reserved characters for Windows. I suggest it replace those characters by default too.
Out of curiosity I just checked linux reserved characters and it seems >
should have been on that list too.
This looks like a pretty good first issue for someone wanting to get started with contributing to Rails.
1 Like
Thanks! I’ll create a PR.