~sircmpwn/tokidoki

63f78d99e19de3bef30eb46c3003906579a14b98 — Conrad Hoffmann a month ago 9442cd6 master
filesystem: also allow dot (.) in file names
1 files changed, 1 insertions(+), 1 deletions(-)

M storage/filesystem.go
M storage/filesystem.go => storage/filesystem.go +1 -1
@@ 29,7 29,7 @@ type filesystemBackend struct {
}

var (
	validFilenameRegex  = regexp.MustCompile(`^[A-Za-z0-9][A-Za-z0-9@_-]+(.[a-zA-Z]+)?$`)
	validFilenameRegex  = regexp.MustCompile(`^[A-Za-z0-9][A-Za-z0-9@\._-]+(.[a-zA-Z]+)?$`)
	defaultResourceName = "default"
)