Commit c2883157 authored by mmn's avatar mmn

apparently not only regex 'https?' urls are sent

parent e51f41c0
......@@ -146,7 +146,7 @@ class ApiOAuthRequestTokenAction extends ApiOAuthAction
return true;
} else {
return common_valid_http_url($callback);
return filter_var($callback, FILTER_VALIDATE_URL);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment