mirror of
https://github.com/matrix-org/dendrite
synced 2024-12-17 09:53:48 +01: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 |