forked from GNUsocial/gnu-social
LRDD blacklisted URL test
This commit is contained in:
@@ -32,6 +32,9 @@ abstract class LRDDMethod
|
||||
|
||||
protected function fetchUrl($url, $method=HTTPClient::METHOD_GET)
|
||||
{
|
||||
// If we have a blacklist enabled, let's check against it
|
||||
Event::handle('UrlBlacklistTest', array($url));
|
||||
|
||||
$client = new HTTPClient();
|
||||
|
||||
// GAAHHH, this method sucks! How about we make a better HTTPClient interface?
|
||||
|
Reference in New Issue
Block a user