8000 response_contains does not check the full response · Issue #138 · coreruleset/go-ftw · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
response_contains does not check the full response #138
Closed
@snake66

Description

@snake66

The ftw YAML format spec says:

response_contains

Description: Checks the entire response against the regular expression provided.

However, go-ftw only matches against the body of the response. This causes problems for tests that want to check that a a specific header is set by the firewall, or want to check responses that have no body.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0