Commit 956cfaf8 by Mikael Nordfeldth

Try https first on URL mention lookup

1 parent 95f991cf
......@@ -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'");
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!