blib/lib/Mojolicious/Plugin/WithCSRFProtection.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 6 | 6 | 100.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
62 | 3 | 6 | 6 | $csrf and $csrf eq $c->csrf_token |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
59 | 4 | 8 | 3 | $c->req->headers->header('X-CSRF-Token') || $c->param('csrf_token') |