apparently not only regex 'https?' urls are sent

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

View File

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