We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit d48f4a81 authored by Zach Copley's avatar Zach Copley

Relax restrictions on URL validation for oauth_callback. We need to

allow custom schemes like mustard:// etc.
parent 5ac694c7
......@@ -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);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment