Explorar o código

Fix uppercase letters on pb slug

Chenyang hai 1 ano
pai
achega
a045255991
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pagebuilder/helper.go

+ 1 - 1
pagebuilder/helper.go

@@ -10,7 +10,7 @@ import (
 )
 
 var (
-	directoryRe = regexp.MustCompile(`^([\/]{1}[a-z0-9.-]+)+(\/?){1}$|^([\/]{1})$`)
+	directoryRe = regexp.MustCompile(`^([\/]{1}[a-zA-Z0-9.-]+)+(\/?){1}$|^([\/]{1})$`)
 )
 
 const (