dendrite/mediaapi/routing
Sid Karunaratne e58ab67b43 Enforce mediaIDRegex to be only valid mediaIDCharacters
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>
2020-05-11 23:30:30 +08:00
..
download.go Enforce mediaIDRegex to be only valid mediaIDCharacters 2020-05-11 23:30:30 +08:00
routing.go Support sqlite in addition to postgres (#869) 2020-02-13 17:27:33 +00:00
upload.go Implement storage interfaces (#841) 2020-01-03 14:07:05 +00:00