blib/lib/Mojolicious/Plugin/SecureOnly.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 5 | 6 | 83.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
24 | 4 | 1 | 1 | not $c->tx->req->reverse_proxy and detect_proxy($c) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
37 | 1 | 0 | 1 | $c->tx->req->headers->header('X-Forwarded-For') || $c->tx->req->headers->header('X-Forwarded-Proto') |