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;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
return Validate::uri(
|
return Validate::uri($callback);
|
||||||
$callback,
|
|
||||||
array('allowed_schemes' => array('http', 'https'))
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue