blib/lib/Ark/Plugin/CSRFDefender.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 14 | 92.8 |
line | true | false | branch |
---|---|---|---|
109 | 48 | 23 | if ($c->_is_csrf_validation_needed) |
112 | 27 | 21 | if (not $param_token && $session_token or $param_token ne $session_token) |
122 | 3 | 9 | if ($c->csrf_defender_error_action) { } |
136 | 0 | 71 | unless $method |
139 | 16 | 23 | $method eq 'DELETE' ? : |
16 | 39 | $method eq 'PUT' ? : | |
16 | 55 | $method eq 'POST' ? : |