diff --git a/index.php b/index.php index 5ac86a04..d0fe984c 100644 --- a/index.php +++ b/index.php @@ -620,6 +620,9 @@ function renderPage($conf, $pluginManager, $LINKSDB, $history, $sessionManager, /*if (isset($link['thumbnail']) && $link['thumbnail'] !== false) { $linksToDisplay[] = $link; // Add to array. }*/ + if ($link['url'][0] === '?' && strlen($link['url']) === 7) { + $link['url'] = index_url($_SERVER) . $link['url']; + } $thumUrl = $conf->get('plugins.ExternalThumbshot_URL'); if(!empty($conf->get('plugins.ExternalThumbshot_KEY'))){