diff --git a/internal/waf/checkpoints/request_scheme.go b/internal/waf/checkpoints/request_scheme.go index 05f98c6..c01fb62 100644 --- a/internal/waf/checkpoints/request_scheme.go +++ b/internal/waf/checkpoints/request_scheme.go @@ -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 }