remove blocker pattern
All checks were successful
Release and Deploy / build (push) Successful in 2m5s
Release and Deploy / deploy (push) Successful in 26s

This commit is contained in:
Fran Jurmanović
2025-08-17 15:53:55 +02:00
parent ef300d233b
commit 384036bcdd

View File

@@ -16,7 +16,6 @@ type PathValidator struct {
func NewPathValidator() *PathValidator { func NewPathValidator() *PathValidator {
blockedPatterns := []*regexp.Regexp{ blockedPatterns := []*regexp.Regexp{
regexp.MustCompile(`\.\.`), regexp.MustCompile(`\.\.`),
regexp.MustCompile(`[<>:"|?*]`),
regexp.MustCompile(`^(CON|PRN|AUX|NUL|COM[1-9]|LPT[1-9])$`), regexp.MustCompile(`^(CON|PRN|AUX|NUL|COM[1-9]|LPT[1-9])$`),
regexp.MustCompile(`\x00`), regexp.MustCompile(`\x00`),
regexp.MustCompile(`^\\\\`), regexp.MustCompile(`^\\\\`),