apparently not only regex 'https?' urls are sent
This commit is contained in:
parent
e51f41c069
commit
c288315700
|
@ -146,7 +146,7 @@ class ApiOAuthRequestTokenAction extends ApiOAuthAction
|
|||
|
||||
return true;
|
||||
} else {
|
||||
return common_valid_http_url($callback);
|
||||
return filter_var($callback, FILTER_VALIDATE_URL);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user