Simplified alphanumeric regex

This commit is contained in:
Seednode 2023-09-07 16:20:48 -05:00
parent e023001dc0
commit fc0c9974b1
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ var (
)
const (
Version string = "0.57.4"
Version string = "0.57.5"
)
var (

View File

@ -986,7 +986,7 @@ func ServePage(args []string) error {
Regexes := &Regexes{
filename: regexp.MustCompile(`(.+)([0-9]{3})(\..+)`),
alphanumeric: regexp.MustCompile(`^[a-zA-Z0-9]*$`),
alphanumeric: regexp.MustCompile(`^[A-z0-9]*$`),
}
srv := &http.Server{