mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-29 11:40:24 +08:00
修复WAF中scheme checkpoint值为空的问题
This commit is contained in:
@@ -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) {
|
||||
value = req.WAFRaw().URL.Scheme
|
||||
value = req.Format("${scheme}")
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user