Relax restrictions on URL validation for oauth_callback. We need to
allow custom schemes like mustard:// etc.
This commit is contained in:
parent
5ac694c74f
commit
d48f4a81d6
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user