mirror of
https://git.sr.ht/~sircmpwn/tokidoki
synced 2025-12-12 06:07:22 +01:00
filesystem: also allow dot (.) in file names
This commit is contained in:
parent
9442cd6517
commit
63f78d99e1
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ type filesystemBackend struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
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"
|
defaultResourceName = "default"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue