diff options
-rw-r--r-- | actions/userauthorization.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/actions/userauthorization.php b/actions/userauthorization.php index 3c48428bc..a6dc2a5b0 100644 --- a/actions/userauthorization.php +++ b/actions/userauthorization.php @@ -365,9 +365,7 @@ class UserauthorizationAction extends Action { throw new OAuthException("Listener URI '$listener' not found here"); } $listenee = $req->get_parameter('omb_listenee'); - if (!Validate::uri($listenee)) { - throw new OAuthException("Listenee URI '$listenee' not a valid URI"); - } else if (strlen($listenee) > 255) { + if (strlen($listenee) > 255) { throw new OAuthException("Listenee URI '$listenee' too long"); } $nickname = $req->get_parameter('omb_listenee_nickname'); |