Files
EdgeAdmin/internal/waf/injectionutils/utils_xss_stub.go

23 lines
472 B
Go
Raw Normal View History

2024-07-27 15:42:58 +08:00
// Copyright 2023 GoEdge CDN goedge.cdn@gmail.com. All rights reserved. Official site: https://goedge.cloud .
2024-03-18 15:59:29 +08:00
//go:build !gcc
package injectionutils
const MaxCacheDataSize = 1 << 20
func DetectXSSCache(input string, isStrict bool, cacheLife int) bool {
// stub
return false
}
// DetectXSS detect XSS in string
func DetectXSS(input string, isStrict bool) bool {
// stub
return false
}
func detectXSSOne(input string, isStrict bool) bool {
// stub
return false
}