diff --git a/local/utl/security/path_validator.go b/local/utl/security/path_validator.go index caa864f..902919b 100644 --- a/local/utl/security/path_validator.go +++ b/local/utl/security/path_validator.go @@ -16,7 +16,6 @@ type PathValidator struct { func NewPathValidator() *PathValidator { blockedPatterns := []*regexp.Regexp{ regexp.MustCompile(`\.\.`), - regexp.MustCompile(`[<>:"|?*]`), regexp.MustCompile(`^(CON|PRN|AUX|NUL|COM[1-9]|LPT[1-9])$`), regexp.MustCompile(`\x00`), regexp.MustCompile(`^\\\\`), @@ -92,4 +91,4 @@ func (pv *PathValidator) AddAllowedBasePath(path string) error { func (pv *PathValidator) GetAllowedBasePaths() []string { return append([]string(nil), pv.allowedBasePaths...) -} \ No newline at end of file +}