Try https first on URL mention lookup
This commit is contained in:
parent
95f991cff3
commit
956cfaf844
@ -349,7 +349,7 @@ class OStatusPlugin extends Plugin
|
||||
|
||||
foreach (self::extractUrlMentions($text) as $wmatch) {
|
||||
list($target, $pos) = $wmatch;
|
||||
$schemes = array('http', 'https');
|
||||
$schemes = array('https', 'http');
|
||||
foreach ($schemes as $scheme) {
|
||||
$url = "$scheme://$target";
|
||||
$this->log(LOG_INFO, "Checking profile address '$url'");
|
||||
|
Loading…
Reference in New Issue
Block a user