Relax restrictions on URL validation for oauth_callback. We need to

allow custom schemes like mustard:// etc.
This commit is contained in:
Zach Copley 2010-10-19 19:29:21 +00:00
parent 5ac694c74f
commit d48f4a81d6

View File

@ -154,10 +154,7 @@ class ApiOauthRequestTokenAction extends ApiOauthAction
return true;
} else {
return Validate::uri(
$callback,
array('allowed_schemes' => array('http', 'https'))
);
return Validate::uri($callback);
}
}