mirror of
https://github.com/1f349/dendrite.git
synced 2024-12-23 00:34:07 +00:00
31e6a7f193
Error messages indicate that: > mediaId must be a non-empty string using only characters in `mediaIDCharacters` However the regex used only required that some characters in the filename match the restriction, not that the entire filename does. This commit ensures that the filename must entirely fullfill the `mediaIDCharacters` restriction Signed-off-by: Sid Karunaratne <sid@karunaratne.net> Co-authored-by: Kegsay <kegan@matrix.org> |
||
---|---|---|
.. | ||
download.go | ||
routing.go | ||
upload.go |