Skip to content

Redirect action does not work properly in IIS #729

Open
@oniric85

Description

@oniric85

I'm using IIS 7.5 with ModSecurity 2.8.0.
I've created a simple configuration file with only one rule

SecRule ARGS "foo" "id:99999,pass,redirect:/"

These are the request headers I get when firing the rule:

HTTP/1.1 302 ModSecurity Action
Server: Microsoft-IIS/7.5
X-XSS-Protection: 1; mode=block
X-Frame-Options: sameorigin
Date: Tue, 27 May 2014 15:08:05 GMT
Content-Length: 0

X-XSS-Protection and X-Frame-Options are added by my IIS configuration. Problem is with Location header that is not present so redirect is not working.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions