修复WAF中scheme checkpoint值为空的问题

This commit is contained in:
刘祥超
2021-11-26 13:42:04 +08:00
parent 7763f26249
commit b619eb4efe

View File

@@ -10,7 +10,7 @@ type RequestSchemeCheckpoint struct {
} }
func (this *RequestSchemeCheckpoint) RequestValue(req requests.Request, param string, options maps.Map) (value interface{}, sysErr error, userErr error) { func (this *RequestSchemeCheckpoint) RequestValue(req requests.Request, param string, options maps.Map) (value interface{}, sysErr error, userErr error) {
value = req.WAFRaw().URL.Scheme value = req.Format("${scheme}")
return return
} }