diff --git a/docs/NEWS b/docs/NEWS index dc6fc8ea..86e38020 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -3,6 +3,8 @@ Version 1.5 () ------------------------------------------------------------------------ + * Fixed Spartacus download URLs for SF.Net mirror + * Allow redirects when fetching remote images (garvinhicking) * Allow to define sort order for search-results (garvinhicking) diff --git a/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php b/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php index 4781a1ae..b283d3ba 100644 --- a/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php +++ b/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php @@ -868,8 +868,8 @@ class serendipity_event_spartacus extends serendipity_event } $plugname = $pluginstack[$i]['template']; - $pluginstack[$i]['previewURL'] = $mirror . '/additional_themes/' . $plugname . '/preview.png?rev=1.9999'; - $pluginstack[$i]['preview_fullsizeURL'] = $mirror . '/additional_themes/' . $plugname . '/preview_fullsize.jpg?rev=1.9999'; + $pluginstack[$i]['previewURL'] = $mirror . '/additional_themes/' . $plugname . '/preview.png?revision=1.9999'; + $pluginstack[$i]['preview_fullsizeURL'] = $mirror . '/additional_themes/' . $plugname . '/preview_fullsize.jpg?revision=1.9999'; $pluginstack[$i]['customURI'] = '&serendipity[spartacus_fetch]=' . $plugname; $pluginstack[$i]['customIcon'] = '_spartacus'; @@ -954,7 +954,7 @@ class serendipity_event_spartacus extends serendipity_event } foreach($files AS $file) { - $url = $mirror . '/' . $sfloc . '/' . $file . '?rev=1.9999'; + $url = $mirror . '/' . $sfloc . '/' . $file . '?revision=1.9999'; $target = $pdir . $file; $this->rmkdir($pdir . $plugin_to_install,$sub); $this->fileperm($pdir . $plugin_to_install, true);