troglobit/merecat

PHP with method GET does not work

Opened this issue · 2 comments

Mercat returns error 403 for a valid URL, for example:

http://localhost?page=home

the POST method works fine and also the GET method without the symbol "?", for example:

http://localhost/index.php

This should be fixed now, I've even added a simple unit test for it. If you get the chance to verify I'd appreciate feedback so we could close this.

The "fix" is in the documentation. I'd made a copy-paste error in the example config. You must change the pattern matching to include a final *:

php "**.php*" {
    enabled  = true
}

Thank you for reminding me today, and actually helping unlock this one! :)

problem fixed, GET methods work fine