apparently not only regex 'https?' urls are sent

This commit is contained in:
Mikael Nordfeldth 2014-01-01 19:44:02 +01:00
parent b81d7c425d
commit df43684196

View File

@ -146,7 +146,7 @@ class ApiOAuthRequestTokenAction extends ApiOAuthAction
return true; return true;
} else { } else {
return common_valid_http_url($callback); return filter_var($callback, FILTER_VALIDATE_URL);
} }
} }
} }