summaryrefslogtreecommitdiff
path: root/actions/userauthorization.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-04 23:39:11 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-04 23:39:11 -0400
commit29d9f0ae64789e31dfea42c695e105d016ef9863 (patch)
treedfdc89b0b9389aa2216940d38b46e22d05a733d0 /actions/userauthorization.php
parent1254761770b09c45d0297c0193ce6709e9353a25 (diff)
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
Diffstat (limited to 'actions/userauthorization.php')
-rw-r--r--actions/userauthorization.php4
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');