We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9402d9a commit 0c2f32cCopy full SHA for 0c2f32c
src/RedirectUriValidators/RedirectUriValidator.php
@@ -9,8 +9,8 @@
9
10
namespace League\OAuth2\Server\RedirectUriValidators;
11
12
-use League\Uri\Uri;
13
use League\Uri\Exceptions\SyntaxError;
+use League\Uri\Uri;
14
15
class RedirectUriValidator implements RedirectUriValidatorInterface
16
{
@@ -65,7 +65,7 @@ private function isLoopbackUri($redirectUri)
65
try {
66
$uri = Uri::createFromString($redirectUri);
67
} catch (SyntaxError $e) {
68
- return false;
+ return false;
69
}
70
71
return $uri->getScheme() === 'http'
0 commit comments