apparently not only regex 'https?' urls are sent
This commit is contained in:
parent
b81d7c425d
commit
df43684196
@ -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