feat: remove "@" from name's forbidden chars

This commit is contained in:
Yang Luo
2025-06-27 18:41:50 +08:00
parent c9f8727890
commit f4ad2b4034

View File

@ -23,7 +23,7 @@ import (
"github.com/beego/beego/context" "github.com/beego/beego/context"
) )
var forbiddenChars = `/?:@#&%=+;` var forbiddenChars = `/?:#&%=+;`
func FieldValidationFilter(ctx *context.Context) { func FieldValidationFilter(ctx *context.Context) {
if ctx.Input.Method() != "POST" { if ctx.Input.Method() != "POST" {