don't validate listenee URI
Validation of the listenee URI was failing for tag: URIs. So, abandoned validation for now. Maybe in the future I'll add it back in, with a second check for a valid tag URI if it doesn't work. darcs-hash:20080605033911-84dde-0cf77fad66198a790450183eba11028e153f43d1.gz
This commit is contained in:
parent
1254761770
commit
29d9f0ae64
|
@ -365,9 +365,7 @@ class UserauthorizationAction extends Action {
|
||||||
throw new OAuthException("Listener URI '$listener' not found here");
|
throw new OAuthException("Listener URI '$listener' not found here");
|
||||||
}
|
}
|
||||||
$listenee = $req->get_parameter('omb_listenee');
|
$listenee = $req->get_parameter('omb_listenee');
|
||||||
if (!Validate::uri($listenee)) {
|
if (strlen($listenee) > 255) {
|
||||||
throw new OAuthException("Listenee URI '$listenee' not a valid URI");
|
|
||||||
} else if (strlen($listenee) > 255) {
|
|
||||||
throw new OAuthException("Listenee URI '$listenee' too long");
|
throw new OAuthException("Listenee URI '$listenee' too long");
|
||||||
}
|
}
|
||||||
$nickname = $req->get_parameter('omb_listenee_nickname');
|
$nickname = $req->get_parameter('omb_listenee_nickname');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user