| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 52 | protected function applyExceptions($string) |
||
| 53 | { |
||
| 54 | $exceptions = config('firewall.middleware.' . $this->middleware . '.exceptions'); |
||
| 55 | |||
| 56 | $domain = $this->request->getHost(); |
||
| 57 | |||
| 58 | $exceptions[] = 'http://' . $domain; |
||
| 59 | $exceptions[] = 'https://' . $domain; |
||
| 60 | $exceptions[] = 'http://&'; |
||
| 61 | $exceptions[] = 'https://&'; |
||
| 62 | |||
| 63 | return str_replace($exceptions, '', $string); |
||
| 64 | } |
||
| 65 | |||
| 77 |