Commit b33fd4c1 authored by qiuqunfeng's avatar qiuqunfeng
Browse files

Update GetAttackLogRsp method to use contentType variable for response...

Update GetAttackLogRsp method to use contentType variable for response formatting, ensuring accurate content type in WAF logs.
parent 3b0e4141
......@@ -1171,7 +1171,7 @@ func (s *wafService) GetAttackLogRsp(ctx context.Context, uuid string, length ui
attackRsp := &AttackRsp{
Uuid: wafDetection.ID,
Intact: intact,
ContentType: wafDetection.RspContentType,
ContentType: contentType,
RspPkg: rspData,
}
return attackRsp, nil
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment