package utils
import (
"fmt"
"html"
"regexp"
"strings"
"unicode/utf8"
)
// XSS 防护相关正则表达式
var (
// 匹配潜在的 XSS 攻击模式
xssPatterns = []*regexp.Regexp{
regexp.MustCompile(`(?i)`),
regexp.MustCompile(`(?i)`),
regexp.MustCompile(`(?i)`),
regexp.MustCompile(`(?i)`),
regexp.MustCompile(`(?i)