| Conditions | 5 |
| Paths | 6 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | protected function _getRedirectUrl() { |
||
| 16 | $path = $this->request->query('path'); |
||
| 17 | $fingerprint = $this->request->query('auth'); |
||
| 18 | if ($path && $fingerprint) { |
||
| 19 | $url = UniLoginUtil::decodeUrl($path); |
||
| 20 | if (UniLoginUtil::validateUrlFingerprint($url, $fingerprint)) { |
||
| 21 | $redirectUrl = $url; |
||
| 22 | } |
||
| 23 | } |
||
| 24 | |||
| 25 | if (empty($redirectUrl)) { |
||
| 26 | $redirectUrl = Configure::read('UniLogin.testProvider.defaultRedirectUrl'); |
||
|
|
|||
| 27 | } |
||
| 28 | |||
| 29 | return $redirectUrl; |
||
| 30 | } |
||
| 58 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths