mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 05:00:25 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			469 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			469 B
		
	
	
	
		
			Go
		
	
	
	
	
	
// Copyright 2023 GoEdge CDN goedge.cdn@gmail.com. All rights reserved. Official site: https://goedge.cn .
 | 
						|
//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
 | 
						|
}
 |