Skip to content

Failed when checking null value #1785

Closed
@XuanHuyDuong

Description

@XuanHuyDuong

Hello dev team,

I'm using Nginx + Modsecurity v3/master. I found an error when checking null value. I checked User-Agent value with operator "^$". Here is result:
image

As you see, User-Agent value is null but result of this rule is false. I checked it using CRS regression. Here are rule and testcase:
image
image

I hope you will reply soon. Thank you!

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions